Section "InputClass" Identifier "Mad Catz R.A.T.5 Mouse" MatchProduct "Mad Catz Mad Catz R.A.T.5 Mouse" # check exact model with xinput MatchDevicePath "/dev/input/event*" #Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 10 11 12 0 0 0 16 17" Option "ButtonMapping" "1 2 3 4 5 10 11 8 9 0 0 0 0 0 0 0 0" #Option "XAxisMapping" "10 11" #Option "ZAxisMapping" "4 5 10 11" #Option "ZAxisMapping" "4 5 6 7" EndSection