Skip to content

Instantly share code, notes, and snippets.

@leogallego
Last active April 21, 2020 22:10
Show Gist options
  • Save leogallego/731a4bb4849c1cf5538c2f850a780d0e to your computer and use it in GitHub Desktop.
Save leogallego/731a4bb4849c1cf5538c2f850a780d0e to your computer and use it in GitHub Desktop.
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
Driver "libinput"
Option "ScrollMethod" "button"
Option "ScrollButton" "9"
Option "MiddleEmulation" "true"
Option "HorizontalScrolling" "false"
Option "ButtonMapping" "3 9 1 4 5 6 7 2 8"
# Option "ButtonMapping" "3 9 1 4 5 6 7 2 8" // left hand - SR scroll, LL+LR fwd, SL mid click
# Option "ButtonMapping" "1 9 3 4 5 6 7 2 8" // right hand - SR scroll, LL+LR fwd, SL mid click
# normal mid right scroll, brow fwd brow back
# 1 2 3 4, 5, 6, 7 8 9
# large-left, LL+LR, large-right, ball x4, small-right, small-left
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment