Skip to content

Instantly share code, notes, and snippets.

@kj-sh604
Last active August 10, 2024 18:59
Show Gist options
  • Save kj-sh604/42ff502063755a6767700bc44f8e0857 to your computer and use it in GitHub Desktop.
Save kj-sh604/42ff502063755a6767700bc44f8e0857 to your computer and use it in GitHub Desktop.
personal Elecom Deft Pro Linux XF86/X11 configuration
### Elecom DEFT Pro Button Mappings: ###
# left-click(1) = left-click(1)
# middle-click(2) = middle-click(2)
# right-click(3) = right-click(3)
# scroll-up(4) = scroll-up(4)
# scroll-down(5) = scroll-down(5)
# wheel-tilt-down(6) = wheel-tilt-down(6)
# wheel-tilt-up(7) = wheel-tilt-up(7)
# button-back(8) = button-back(8)
# button-forward(9) = button-forward(9)
# button-fn1(10) = left-click(1)
# button-fn2(11) = right-click(3) // scroll_modifier
# button-fn3(12) = middle-click(2)
Section "InputClass"
Identifier "ELECOM TrackBall Mouse DEFT Pro TrackBall"
MatchProduct "ELECOM TrackBall Mouse DEFT Pro TrackBall"
Driver "libinput"
Option "ScrollMethod" "button"
Option "ScrollButton" "11"
Option "NaturalScrolling" "false"
Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 1 3 2"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment