/lib/udev/rules.d/60-triggerhappy.rules is in triggerhappy 0.3.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | ## 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"
|