input-remapper/data/99-input-remapper.rules

11 lines
429 B
Plaintext
Raw Normal View History

# 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
2022-02-03 15:46:34 +00:00
# to get available variables:
# udevadm monitor --environment --udev --subsystem input
2022-01-01 12:00:49 +00:00
ACTION=="add", SUBSYSTEM=="input", RUN+="/bin/input-remapper-control --command autoload --device $env{DEVNAME}"