Browse Source

fixing precision aim 1.0

master
calexil 3 years ago
parent
commit
38911c2f27
4 changed files with 20 additions and 18 deletions
  1. 1
    3
      INSTALL
  2. 2
    2
      install.sh
  3. 4
    13
      rataim.conf
  4. 13
    0
      xinput mapping info

+ 1
- 3
INSTALL View File

@@ -1,5 +1,3 @@
You will need to have xbindkeys installed to make precision aim work, if you dont care just ignore the following section:

**Precision Aim:**
make install.sh executable and run it from terminal



+ 2
- 2
install.sh View File

@@ -3,6 +3,6 @@
gksudo mkdir /etc/X11/xorg.conf.d/
sudo touch /etc/X11/xorg.conf.d/910-rat.conf
sudo cp ~/rataim/910-rat.conf /etc/X11/xorg.conf.d/910-rat.conf
touch ~/.xinitrc
cp ~/rataim/rataim.conf
touch ~/.xbindkeysrc
cp ~/rataim/rataim.conf ~/.xbindkeysrc


+ 4
- 13
rataim.conf View File

@@ -1,14 +1,5 @@
#!/bin/bash
# Map button 12 Press (precision aim button) to button 17 (dpi down button) and button 12 release to button 16 (dpi up button)
madcatz_mouse_id=$(xinput | grep "Mad Catz Mad Catz R.A.T.7 Mouse" | awk {'print substr($7,4,2)'})
echo $madcatz_mouse_id > ~/temp/madcatz_mouse_id
xinput set-button-map $madcatz_mouse_id 1 2 3 4 5 0 0 8 9 7 6 17 0 0 0 16 17

16 press increase dpi

release null

17 press decrease dpi

release null

precision aim=button12

"/usr/bin/xte 'mouseclick 1' 'mouseclick 1' &"
b:12 + Release

+ 13
- 0
xinput mapping info View File

@@ -0,0 +1,13 @@



16 press increase dpi

release null

17 press decrease dpi

release null

precision aim=button12


Loading…
Cancel
Save