Skip to content

Instantly share code, notes, and snippets.

@ciarand
Last active December 23, 2015 02:09
Show Gist options
  • Save ciarand/6565391 to your computer and use it in GitHub Desktop.
Save ciarand/6565391 to your computer and use it in GitHub Desktop.
Making R.A.T.7 work in Linux Mint
sudo cat rat7.xorg.conf >> /etc/X11/xorg.conf
sudo service mdm stop
sudo service mdm start
Section "InputClass"
Identifier "R.A.T. remap"
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