Browse Source

Initial testing

master
calexil 3 years ago
parent
commit
c074de4b55
2 changed files with 19 additions and 0 deletions
  1. 9
    0
      910-rat.conf
  2. 10
    0
      install.sh

+ 9
- 0
910-rat.conf View File

@@ -0,0 +1,9 @@
Section "InputClass"
Identifier "R.A.T."
MatchProduct "R.A.T.7|R.A.T.9"
Driver "evdev"
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

+ 10
- 0
install.sh View File

@@ -0,0 +1,10 @@
#!/bin/bash

cd ~/$USER/rataim/;
gksudo mkdir /etc/X11/xorg.conf.d/;
touch /etc/X11/xorg.conf.d/910-rat.conf;
cp ~/$USER/rataim/910-rat.conf /etc/X11/xorg.conf.d/910-rat.conf;

print "success, you will now need to restart x or reboot"
wait 10
exit

Loading…
Cancel
Save