Click to See Complete Forum and Search --> : mouse


atl2ptown
11-30-2000, 12:45 AM
is there anyway to use a mouse's scroll wheel capability?

Daedra
11-30-2000, 12:53 AM
you need to edit your /etc/X11/XF86Config file (or where ever your XF86Config file is) and under the "InputDevice" section add this line

Option "ZAxisMapping" "4 5"

heres is a example of what mine looks like

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "samplerate" "200"
Option "resolution" "200"
Option "Device" "/dev/mouse"

bdl
11-30-2000, 01:01 AM
Originally posted by Daedra:
you need to edit your /etc/X11/XF86Config file (or where ever your XF86Config file is) and under the "InputDevice" section add this line

Option "ZAxisMapping" "4 5"

heres is a example of what mine looks like

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "samplerate" "200"
Option "resolution" "200"
Option "Device" "/dev/mouse"


Just a quick note: the above listed config is from X 4.0.x so would not function under X 3.3.x. Also, you can use the Protocol "MouseManPlusPS/2" in lieu of PS/2 or IMPS/2 and it is *supposed* to allow for smoother motion, better mouse support. Another point is that Gnome is really the only WM/desktop that utilizes ZAxisMapping, otherwise you'll need to run something like imwheel (http://jonatkins.org/imwheel/). Netscape and most other apps cannot innately use the scroll wheel without it.