Skip to content

Instantly share code, notes, and snippets.

@microft
Created February 9, 2019 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save microft/77fa642b63b90f52fb03ef310d31a07a to your computer and use it in GitHub Desktop.
Save microft/77fa642b63b90f52fb03ef310d31a07a to your computer and use it in GitHub Desktop.
xorg configuration for left handed logitech marble mouse (middle click and scroll) - Ubuntu 18.04
Section "InputClass"
Identifier "Logitech USB Trackbal"
MatchProduct "Logitech USB Trackball"
Driver "libinput"
Option "MiddleEmulation" "on"
Option "ScrollMethod" "button"
#Option "ButtonMapping" "1 2 3 4 5 6 7 8 9" # right handed
#Option "ScrollButton" "8" # right handed
Option "ScrollButton" "9" # left handed
Option "ButtonMapping" "3 9 1 4 5 6 7 2 8" #left handed
#Option "AccelerationNumerator" "20"
#Option "AccelerationDenominator" "1"
#Option "AccelerationThreshold" "1"
Option "TransformationMatrix" "1.7 0 0 0 1.7 0 0 0 1"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment