Norman Urs Baier a �crit :
Am Sonntag 22 Mai 2005 12.40 schrieb Arq 996:

The wheel don't work properly.
But when I run
xmodmap -e "pointer = 1 2 3 6 7 4 5" in a shell console under KDE, it
works fine !!!

Section "InputDevice"
        Identifier "MX510"
        Driver "mouse"
        Option "Name" "Logitech MX510"
        Option "Protocol" "ExplorerPS/2"
        Option "Device" "/dev/input/mice"
        Option "Buttons" "7"
        Option "ZAxisMapping" "6 7"
        Option "Emulate3Buttons" "no"
EndSection


Are you sure you want to map 6 and 7 to z? On 5 button mice these are 4 5, now if 7 button mice are just extended 5 button mice, you'd still map buttons 4 and 5, but I don't work with 7 button mice...
Does any of the other buttons scroll?

Norman

I used xev under kde, i had the following results :
1 = left
2 = middle (click on the wheel)
3 = right
4 = back (on mouse side)
5 = forward (on mouse side)
6 = wheel down
7 = wheel up
6+4 = a little button in front of the wheel
7+1 = a little button in rear of the wheel
(the last button of my mouse isn't recognize)

So I think I have to map 6 & 7 to Z axis.
After starting KDE, buttons 4 and 5 does the scrolling.
After running xmodmap -e "pointer = 1 2 3 6 7 4 5" it works fine :
- the wheel does the scrolling
- button 4 gives the "previous" action in firefox
- button 5  makes the "next" action in firefox

i don't understand why the xmodmap doesn't work in my .xinitrc.


--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to