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.2010-02-10)

344.   Why are you upset?   [jake/2003-01-29]
332.   What is the best hostel to stay at while in Amsterdam?   [jake/2002-10-25]
284.   whats the best way to encode MP3s on linux?   [jesse/2001-11-13]
265.   Who is Brad   [brad/2002-07-16]
256.   How does the new Windows Product Activation (WPA) scheme work?   [rupe/2001-07-10]
235.   How do I enable the diagnostic mode on a Garmin eTrex GPS?   [rupe/2001-05-30]
218.   how do I make my page appear in web search results?   [josh/2001-05-08] ( strick/2001-05-08 )
210.   Where can i get a cool e-mail alias @jonfram.net or @nakedpudding.com?   [josh/2001-04-04]
169.   Where does The YAK go out to eat?   [strick/2001-04-24] ( combee/2001-05-29 )
167.   What are the hardware specs on a Cybiko?   [rupe/2001-01-24]
139.   How do real programmers write code?   [rupe/2000-10-25]
124.   How do I make common modifications to my Gnu Emacs .emacs file?   [rupe/2000-09-26]
103.   Where can I find information on how much I'm worth?   [rupe/2000-06-17]
87.   How do i OPT OUT of doubleclick's user-tracking cookies?   [strick/2000-05-11]
60.   Where can i find out about taking the java certification exam?   [jesse/2000-02-15]
37.   What is this "goo" that holds the yak together?   [robey/2000-02-01]
25.   What does CLEC stand for in the telco business?   [simon/2000-01-22] ( jesse/2000-11-22 )