Skip to content

Instantly share code, notes, and snippets.

@wuqian
Created September 27, 2014 03:40
Show Gist options
  • Save wuqian/3ff760560b418a30914e to your computer and use it in GitHub Desktop.
Save wuqian/3ff760560b418a30914e to your computer and use it in GitHub Desktop.
R.A.T.7 mouse support for Ubuntu
Section "InputClass"
Identifier "R.A.T."
MatchProduct "R.A.T.7|R.A.T.9"
MatchDevicePath "/dev/input/event*"
Option "Buttons" "17"
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17"
Option "AutoReleaseButtons" "13 14 15"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment