Skip to content

Instantly share code, notes, and snippets.

@mikaelhg
Last active August 29, 2015 14:09
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 mikaelhg/6d4e8f0f53c1845b5e3e to your computer and use it in GitHub Desktop.
Save mikaelhg/6d4e8f0f53c1845b5e3e to your computer and use it in GitHub Desktop.
Lynn's mouse buttons
xinput list
xinput list 9
xinput get-button-map 9
xinput set-button-map 9 1 2 3 4 5 6 7 2 2 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/usr/share/X11/xorg.conf.d/logitech-usb-gaming-mouse.conf
Section "InputClass"
Identifier "Logitech USB Gaming Mouse"
Option "ButtonMapping" "1 2 3 4 5 6 7 2 2 10 11 12 13 14 15 2 17 18 19 20 21 22 23 24"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment