Page 1 of 1

RAT9 Mouse configuration confusion

Posted: 2. Feb 2012, 08:11
by mikefrank
I used xev to map each button press.
1 - Left click
2 - Scroll wheel click
3 - Right click
4 - Scroll up
5 - Scroll down
6 - <no button>
7 - <no button>
8 - Lower thumb button
9 - Upper thumb button
10 - Scroll right
11 - Scroll left
12 - Red "precision aim" thumb button
13 - Mode toggle -- purple release, red press
14 - Mode toggle -- red release, blue press
15 - Mode toggle -- blue release, purple press
16 - Decrease dpi
17 - Increase dpi

I tried every physical button and figure that any issues would come from buttons 6 or 7 (since I couldn't find a physical button) or 13, 14, 15 (since one is perpetually pressed and held until the next one, and so on). So I made a .conf file and put it in /etc/X11/xorg.conf.d
For the button remap, I put a 0 in the spot of each of the troubled buttons with the hope that would disable them, but it doesn't work. The "hanging" on a window indicates that 13/14/15 is still operational, and forcing a window to remain in the foreground.

If I log out and back in, the mouse works perfectly unless I press the mode button (13/14/15), but it won't work after a normal startup, or if I unplug the mouse receiver and plug it back in (switching rooms and coming back later), or if the mouse turns off and on again (when I swap the battery).

Something tells me that I made my "910-rat.conf" file improperly or that it's not loading properly to take effect.

Since I have the button map figured out, I need help from someone who knows how to properly write a .conf file, and properly implement it, cause I don't know how to do either, I've just been following what others have done.