summaryrefslogtreecommitdiff
path: root/extras/accelerometer/61-accelerometer.rules
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-06-06 18:44:09 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-06-06 18:44:09 +0200
commit24569e24dc94a7cffb8031eb0055e8d06cbdcb72 (patch)
treed62ccf082e585b80cdd2bd6f8c3e45617c96541d /extras/accelerometer/61-accelerometer.rules
parent6cadb40abf964141fe8c956dd6808f4885321eb6 (diff)
accelerometer: add orientation property
Diffstat (limited to 'extras/accelerometer/61-accelerometer.rules')
-rw-r--r--extras/accelerometer/61-accelerometer.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/accelerometer/61-accelerometer.rules b/extras/accelerometer/61-accelerometer.rules
new file mode 100644
index 0000000000..a6a2bfd088
--- /dev/null
+++ b/extras/accelerometer/61-accelerometer.rules
@@ -0,0 +1,3 @@
+# do not edit this file, it will be overwritten on update
+
+SUBSYSTEM=="input", ACTION!="remove", ENV{ID_INPUT_ACCELEROMETER}=="1", IMPORT{program}="accelerometer %p"