HOWTOs :: Getting the mouse wheel to work in XFree86
Last modified on Friday March 4 2005 @ 11:33:29
I have a Logitech cordless keyboard and a cordless optical mouse that connect to the USB
port through a receiver. To enable the mouse wheel set the follwing options in your
/etc/X11/XF86Config file:
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/usbmouse"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Make sure that the symlink /dev/usbmouse points to the correct device (e.g. /dev/imput/mice)
by typing 'ls -l /dev/usbmouse'. If the symlink doesn't exist, or points to the wrong
device, create a new one by typing:
ln -fs /dev/input/mice /dev/usbmouse
Alternatively, you could change the 'Device' line in the InputDevice section in your
XF86Config file above to:
Option "Device" "/dev/input/mice"
Restart X, and everything should be good to go.
|