Created
January 25, 2020 23:03
-
-
Save dnlvgl/d16fd822bc90dcdaaae262a76fad884e to your computer and use it in GitHub Desktop.
Remapping Kensington Expert Trackball Buttons with wayland
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Button remap for Kensington Expert Trackball | |
# both upper buttons (90003 + 90004) act as BTN_LEFT (272) | |
# both lower buttons (90001 + 90002) act as BTN_RIGHT (273) | |
# save this file under '/etc/udev/hwdb.d/90-kensington-expert-trackball-remap.hwdb' | |
# run `sudo systemd-hwdb update` and reboot | |
# | |
# source: https://askubuntu.com/questions/1145057/remapping-mouse-buttons-to-keyboard-keys | |
# /sys/class/input/event20/device/id/bustype:0003 | |
# /sys/class/input/event20/device/id/product:1020 | |
# /sys/class/input/event20/device/id/vendor:047d | |
# /sys/class/input/event20/device/id/version:0111 | |
evdev:input:b0003v047Dp1020e0111* | |
ID_INPUT_KEY=1 | |
KEYBOARD_KEY_90001=273 | |
KEYBOARD_KEY_90002=273 | |
KEYBOARD_KEY_90003=272 | |
KEYBOARD_KEY_90004=272 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment