Re: Mouse wheel don't scroll



Dado wrote:
Segin wrote:


Dado wrote:

My mouse wheel don't scroll in a linux world so do I choose a wrong mouse
driver or I missed something?

No, the mouse wheel is the Z axis (much like your notmal X/Y), but
programs expect scrolling infomation on buttons 4 and 5 (up and down
buttons found atop and below the wheel). However, by default, the Z axis
isn't mapped to 4 and 5 (what programs expect for scrolling)

So we have to map the Z axis to buttons 4 and 5.

Add this to the Input section of your X config for your mouse:

Option "ZAxisMapping" "4 5"

If you need further assistance, please reply to this. Your X config is a
plain text file in /etc/X11/ which is named either XF86Config or xorg.conf

Your mouse section should resemble (but not nessessrarly be exactly)
like this:

Section "InputDevice"
Identifier "Mouse1" # First mouse
Driver "mouse" # its a mouse-load mouse driver
Option "Protocol" "IMPS/2" # PS/2 scrollmouse
Option "Device" "/dev/psaux" # PS/2 port
Option "ZAxisMapping" "4 5" # needed for scrolling :)
EndSection



I tried to add Option "ZAxisMapping" "4 5" # needed for scrolling :)

to my etc/X11/X86Config file but I don't have InputDevice section but:
Section "Pointer"
Protocol "IMPS/2"
Device "/dev/usbmouse"
Option "ZAxisMapping" "4 5" #this I add but without any change on my wheel
EndSection

Try ZAxisMapping "4 5" instead of Option "ZAxisMapping" "4 5". It's older XFree86 convention.
.