Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2002 10:25:46 -0600
From:      Robin Damm <robin@damm.ca>
To:        Pierrick Brossin <pbrossin@swissgeeks.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Wheelmouse
Message-ID:  <20021216162546.GA2198@lulu.bad.dog>
In-Reply-To: <1040048333.3dfde0cdbddb1@www.swissgeeks.com>
References:  <20021216160646.C281-100000@gemini.fixx.co.za> <20021216140917.GA8167@kierun.org> <1040048333.3dfde0cdbddb1@www.swissgeeks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 16, 2002 at 03:18:53PM +0100, Pierrick Brossin wrote:
> Quoting Yann Golanski <yann@kierun.org>:
> 
> > Add the following instead of the same named section in your
> > /etc/X11/XF86COnfig:
> > Section "InputDevice"
> >         Identifier  "Mouse0"
> >         Driver      "mouse"
> >         Option      "Protocol" "Auto"
> >         Option      "Device" "/dev/sysmouse"
> >         Option      "ZAxisMapping" "4 5"
> > EndSection
> > 
> > Then compile rxvt with --with-mousewheel et voilas. 
> 
> I bougth a PS2 Optical Mouse... Unknown Brand.
> I managed to make it work. Though I have to unplug it and replug it before using
> it or it would simply stay on the left corner of the screen... dunno why :)
> 
> I tried to make the wheel work but it doesn't...
> Is is possible to know what parameters to put in ZAxisMapping Option ?
> I mean, is there any program that says "you're pushing button 3" ?
> Or is it always "4 5" and I won't have my wheel working ?

The command xev will show you the X events generated when clicking
various buttons on the mouse.

The ZAxisMapping parameters "4 5" are generally expected to be the
wheel but not always.

More details available in /usr/X11R6/lib/X11/doc/README.mouse.

-- 
Robin Damm <robin@damm.ca>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021216162546.GA2198>