Skip to content

Instantly share code, notes, and snippets.

@rexso
Created January 22, 2015 20:53
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 rexso/194d55d852e24545ab9b to your computer and use it in GitHub Desktop.
Save rexso/194d55d852e24545ab9b to your computer and use it in GitHub Desktop.
X11 Configuration for Cyborg R.A.T.7 Mouse
# This configuration will enable the R.A.T.7 Mouse under X11 on GNU/Linux,
# by disabling the mode-selector button (recognized as buttons 13, 14 and 15).
# Add this configuration to /etc/X11/xorg.conf.d/12-mouse-rat.conf, and restart X.
# Good luck! :)
Section "InputClass"
Identifier "R.A.T.7 Mouse"
MatchProduct "Saitek Cyborg R.A.T.7 Mouse"
MatchDevicePath "/dev/input/event*"
Option "Buttons" "12"
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 10 0 0 0 12 13"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment