9 lines
400 B
Plaintext
9 lines
400 B
Plaintext
## open new input devices and pass the file descriptor to the triggerhappy daemon
|
|
ACTION=="add", SUBSYSTEM=="input", \
|
|
ATTRS{name}!="triggerhappy", \
|
|
RUN+="/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev"
|
|
## add device exclusively
|
|
#ACTION=="add", SUBSYSTEM=="input", \
|
|
# ATTRS{name}=="Nintendo Wiimote", \
|
|
# RUN+="/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev --grab"
|