Tuesday, September 17, 2013

R.A.T 5 Mouse on Fedora 19

I'm using this file: /etc/X11/xorg.conf.d/rat-5.conf:

Section "InputClass"
        Identifier "Mouse Remap"
        MatchProduct "Mad Catz Mad Catz R.A.T.5 Mouse"
        MatchDevicePath "/dev/input/event*"
        Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17"
        Option "ZAxisMapping" "4 5 6 7"
        Option "AutoReleaseButtons" "13 14 15"
EndSection
MatchProduct has to come from what ever shows up in /proc/devices, as mergers and acquisitions is changing the product name daily. Perhaps partial matches would work? I think the above this works for the R.A.T. 7 too.

No comments:

Post a Comment