Re: Logitech Marble Mouse ~ Button Mapping?

From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 08/24/04


Date: 24 Aug 2004 18:50:23 GMT


["Followup-To:" header set to comp.os.linux.hardware.]
On Tue, 24 Aug 2004 11:08:39 +0000, udip2lam9r staggered into the Black
Sun and said:
> Fedora Core 2 Kernel 2.6.7-1.494.2.2
> Logitech Marble Mouse (trackball)- Plugged into the PS/2 slot
>
> I have basic functionality but I would like to get the small scroll
> buttons working.
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "MouseManPlusPS/2"
> Option "Device" "/dev/input/mice"
> Option "Buttons" "5"
> Option "Emulate3Buttons" "yes"

Eh? Well, if you don't have an easily-accessible button 2 on this
trackball, I suppose that'd work.

> Option "Emulate3Timeout" "50"
> EndSection

You're missing the line
    Option "ZAxisMapping" "4 5"
...which is required to map buttons 4 and 5 to the Z axis so that you
can scroll using the wheel or whatever.

> Alternately, is it possible to use a second mouse(usb) for scrolling?

Sure, set up an InputDevice section for it including the ZAxisMapping
line and it should work.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /                Hire me! 
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume

Quantcast