Plippo / twofing

Daemon for two finger gestures
http://www.plippo.de/p/twofing
25 stars 15 forks source link

Simplify udev rules #9

Open mgrouch opened 3 years ago

mgrouch commented 3 years ago

I think all you need instead of all current udev rules is:


SUBSYSTEMS=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", SYMLINK+="touchscreen0"
SUBSYSTEMS=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", SYMLINK+="twofingtouch", RUN+="/bin/chmod a+r /dev/twofingtouch"