Files
bananarchy/overlay/rootfs/usr/lib/udev/rules.d/99-bananarchy-keypad.rules
T

10 lines
566 B
Plaintext

# The 2720 Flip GPIO matrix keypad must be seen as a keyboard by Xorg's
# libinput backend even when udev's input_id builtin only reports EV_SW on
# the companion gpio-keys device. Force the tags and keep the device nodes
# readable by the "input" group (the X session runs as "user").
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="keypad", \
ENV{ID_INPUT}="1", ENV{ID_INPUT_KEY}="1", ENV{ID_INPUT_KEYBOARD}="1", \
GROUP="input", MODE="0660"
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="gpio-keys", \
ENV{ID_INPUT}="1", GROUP="input", MODE="0660"