Files
bananarchy/overlay/rootfs/usr/share/X11/xorg.conf.d/60-bananarchy-keypad.conf
T

15 lines
562 B
Plaintext

# Bind the GPIO matrix keypad explicitly. MatchIsKeyboard relies on udev's
# ID_INPUT_KEYBOARD tag, which can be missing on a matrix keypad whose key
# bitmask only contains phone-specific keycodes; MatchProduct alone still
# lets xf86-input-libinput enumerate the device's real EV_KEY capabilities.
Section "InputClass"
Identifier "Bananarchy matrix keypad"
MatchProduct "keypad"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Ignore" "false"
Option "XkbRules" "evdev"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection