[X.Org 6.9 / xmodmap] Mouse buttons not well recognized
Hello everyone,
Here is the problem, I have a 7 buttons mouse (MS intellieye optical)
and xmodmap tells me that there is 11 buttons. The first 5 buttons are
still usable.
In previous versions 6.8.2 I only had to remap buttons 6 7 to 4 and 5
with xmodmap, in order to use properly this mouse.
I'm using Debian unstable with this package version: 6.9.0.dfsg.1-1
Detailed problem:
Here is my xorg.conf:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "False"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
xmodmap conf:
pointer = 1 2 3 6 7 4 5
xmodmap now outputs an error.
xmodmap: commandline:1: bad number of buttons, must have 11 instead of 7
xmodmap -pp confirms that:
There are 11 pointer buttons defined.
Physical Button
Button Code
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
xmodmap says me that I've got 11 buttons on my mouse. Strange. I tried
to collect more informations using xev.
xev gave me something to play with, buttons 1, 2, 3, 6 and 7 are rightly
recognized. As before, 6 and 7 need to be remaped to 4 and 5.
But, button 4 (in the previous version) is now recognized as button 10 !
Button 5 is simply not recognized. 4 and 5 are my left and right special
buttons. 6 and 7 the wheel.
I tried to define Option "Buttons" "11" in xorg.conf and play around
with it, but this time xmodmap says me that I've got 16 buttons !
I can notice that the button 5 is this time recognized as button 12.
I tried to remap thoses crazy buttons, with xmodmap and the help of xev,
but without any success.
A related bug https://bugs.freedesktop.org/show_bug.cgi?id=4212 was
fixed, but apparently, not totally.
Does anyone noticed the problem ?
--
Alexandre Ahmim-Richard
passe at clope dot net
http://www.u-admin.org
Reply to: