pmaports/main/postmarketos-base/rootfs-lib-udev-rules.d-20-zinitix-input.rules
Raymond Hackley ab83b8cbeb
main/postmarketos-base: udev rule for zinitix touchkey (MR 3015)
The udev file "20-zinitix-input.rules" maps the touchkey on Zinitix-TS to
KEY_MENU and KEY_BACK.
2022-03-21 22:25:54 +09:00

3 lines
200 B
Text

# map touchkey on Zinitix-TS to KEY_MENU and KEY_BACK
SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="Zinitix-TS", \
ENV{KEYBOARD_KEY_00}="menu", ENV{KEYBOARD_KEY_01}="back", RUN{builtin}+="keyboard"