Skip to content

Instantly share code, notes, and snippets.

@j-steinbach
Last active March 8, 2024 20:49
Show Gist options
  • Select an option

  • Save j-steinbach/9b80cc259ad5ff156bb6639637435575 to your computer and use it in GitHub Desktop.

Select an option

Save j-steinbach/9b80cc259ad5ff156bb6639637435575 to your computer and use it in GitHub Desktop.
Kensington Expert Trackball > RMB top
Section “InputClass”
Identifier “Kensington trackball”
MatchDevicePath “/dev/input/event*”
MatchVendor “047d”
MatchProduct “Kensington Expert Mouse Trackball”
Driver “libinput”
Option “ButtonMapping” “1 2 8 4 5 6 3 3”
Options “Natural Scrolling Enabled” “1”
EndSection
@j-steinbach
Copy link
Author

j-steinbach commented Mar 8, 2024

Based on https://silvester.org.uk/2021/11/07/setting-up-custom-buttons-for-kensington-trackballs-under-linux/

Alternatively do something like ❯ xinput set-button-map 10 1 2 8 4 5 6 3 3, where 10 is the id of your xinput | grep "Kensington"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment