Skip to content

Instantly share code, notes, and snippets.

@rummanwaqar
Last active January 29, 2016 05:13
Show Gist options
  • Save rummanwaqar/8f8f6532f819a9499f15 to your computer and use it in GitHub Desktop.
Save rummanwaqar/8f8f6532f819a9499f15 to your computer and use it in GitHub Desktop.
XConf for RAT5 Mouse (/usr/share/X11/xorg.conf.d/rat5-quirks.conf)
Section "InputClass"
Identifier "Mouse Remap"
MatchProduct "Saitek Cyborg R.A.T.5 Mouse"
MatchDevicePath "/dev/input/event*"
Option "AccelerationProfile" "1"
Option "ConstantDeceleration" "5"
Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 10 11 12 0 0 0"
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