input-remapper/data/99-input-remapper.rules
2022-06-11 10:27:58 +02:00

11 lines
461 B
Plaintext

# helpful commands:
# udevadm monitor --property
# udevadm info --query=all --name=/dev/input/event3
# to test changes:
# sudo udevadm control --log-priority=debug
# sudo udevadm control --reload-rules
# journalctl -f
# to get available variables:
# udevadm monitor --environment --udev --subsystem input
ACTION=="add", SUBSYSTEM=="input", ENV{ID_PATH}!="platform-sound", RUN+="/bin/input-remapper-control --command autoload --device $env{DEVNAME}"