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-11-08)

437.   How do I wash a feather comforter?   [n0b0dy/2006-08-13]
406.   What are the different types of Rape Juice(tm) to quench a healthy thirst?   [n0b0dy/2004-03-08] ( leif/2004-03-09 )
404.   How can I limit the ammount of bandwidth rsync over ssh (or anything else) uses, without a complicated firewall solution?   [leif/2004-02-06]
368.   Do Laws of Physics apply to Software such as PostgreSQL and MS Windows 95/NT?   [strick/2003-08-25]
329.   How do I get music for my experimental noise club?   [jake/2002-10-05]
326.   How do I make an RJ-45 connector into a hardware loop back device (is that an ethernet jammer in your pocket) ? (or how the hell do you boot an Indy with out an ethernet cable)   [jake/2002-10-05]
324.   whats the right command to use stunnel like an SSL version of telnet(client)?   [jesse/2002-09-08]
298.   what is the equivalent to strace on openBSD?   [jesse/2001-12-28]
291.   Should I solder my Sound Card into my computer?   [strick/2002-02-04]
285.   I use gnome, my soundcard died, lots of things need sound to run! what do i do?   [jesse/2001-11-13]
283.   What is the beautiful font used in the movie "Bicentennial Man" ?   [rupe/2001-11-09]
240.   Where can I find black and white photos of people and places in San Francisco?   [rupe/2001-06-05]
229.   How do I convert a conventional laser pointer to a modulated laser?   [rupe/2001-05-29]
154.   How can I integrate PGP5 functionality into the pine mail reader?   [rupe/2000-12-27]
57.   How do you make popcorn salad, and is it actually a "salad"?   [mockturtle/2000-02-12]
50.   If the mass number of an isotope is much greater than twice the atomic number, what type of radioactive decay might you expect?   [kurt/2000-02-06]
37.   What is this "goo" that holds the yak together?   [robey/2000-02-01]