Skip to content

Commit

Permalink
update udev rules (SYSFS->ATTRS)
Browse files Browse the repository at this point in the history
  • Loading branch information
wertarbyte committed Mar 8, 2011
1 parent 6ec4201 commit 3def2e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions udev/triggerhappy-udev.rules
@@ -1,8 +1,8 @@
## open new input devices and pass the file descriptor to the triggerhappy daemon ## open new input devices and pass the file descriptor to the triggerhappy daemon
ACTION=="add", SUBSYSTEM=="input", \ ACTION=="add", SUBSYSTEM=="input", \
SYSFS{name}!="triggerhappy", \ ATTRS{name}!="triggerhappy", \
RUN+="/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev" RUN+="/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev"
## add device exclusively ## add device exclusively
#ACTION=="add", SUBSYSTEM=="input", \ #ACTION=="add", SUBSYSTEM=="input", \
# SYSFS{name}=="Nintendo Wiimote", \ # ATTRS{name}=="Nintendo Wiimote", \
# RUN+="/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev --grab" # RUN+="/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev --grab"

0 comments on commit 3def2e7

Please sign in to comment.