by jesse

how do i setup a scroll wheel mouse in xfree86 4.0.x?

if it is a ps/2 mouse, set it up just like a normal 3 button ps/2 mouse, but use protocol imps/2, instead of ps/2, this allows it to read the scroll whell events. then add "Option "ZAxisMapping" "4 5"" to the pointer section of your xfree86 config file. this tells it to map the motion on the zaxis(the wheel) to buttons 4 and 5. here is my config section:

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "imps/2"
    Option "Device"      "/dev/misc/psaux"
    Option "ZAxisMapping" "4 5"

EndSection

for information on letting specific apliations use it see /http://www-sop.inria.fr/koala/colas/mouse-wheel-scroll/
for information on setting up it with netscape see http://www.kalamazoolinux.org/tech/ns-wheel.html

 


 
Read more of   The Yak's Frequently Questioned Answers   (mod.2008-06-12)

417.   What is the slashdot amnesia phenomenon?   [jake/2004-10-29]
412.   Interested in using Java in Debian?   [jake/2004-08-28]
398.   How can I fix dhclient in debian stable with the 2.6 kernel?   [leif/2003-12-20]
319.   why do i get an error "make: don't know how to make /usr/share/tmac/tmac.andoc. Stop" when building a pkg on netbsd?   [jesse/2002-08-10]
307.   Where the hell is #yak?   [vonguard/2002-02-07]
221.   Where can I find information about odd places in San Francisco?   [rupe/2001-06-04]
201.   Where are Mir, the Shuttle, and the ISS right now?   [rupe/2001-03-22]
138.   How can I become an asshole in five easy steps?   [chota/2000-10-22]
108.   How can i get custom ring tones onto my cell phone?   [jesse/2000-07-09]
105.   What does matt do to Windows machine after a fresh install?   [matt/2000-07-03]
89.   What is the connecton between Karl Marx, Cinco de Mayo, and salsa?   [strick/2000-05-05]
83.   What's the best way to send mail as stdin to a program, using sendmail?   [rupe/2000-04-28]
74.   How many roads must a man walk down?   [vonguard/2000-04-04]
13.   What internet security sites should I read?   [strick/2000-01-17]