From owner-freebsd-questions Mon Dec 16 8:25:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3045737B401 for ; Mon, 16 Dec 2002 08:25:43 -0800 (PST) Received: from pd3mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AE7243EE6 for ; Mon, 16 Dec 2002 08:25:37 -0800 (PST) (envelope-from robin@damm.ca) Received: from pd6mr2so.prod.shaw.ca (pd6mr2so-qfe3.prod.shaw.ca [10.0.141.217]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H78009950AJ8K@l-daemon> for freebsd-questions@freebsd.org; Mon, 16 Dec 2002 09:25:31 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca (pn2ml7so-qfe0.prod.shaw.ca [10.0.121.151]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H78007FC0AJJ5@l-daemon> for freebsd-questions@freebsd.org; Mon, 16 Dec 2002 09:25:31 -0700 (MST) Received: from lulu.bad.dog (h24-82-238-48.wp.shawcable.net [24.82.238.48]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H78007EN0AJCJ@l-daemon> for freebsd-questions@FreeBSD.ORG; Mon, 16 Dec 2002 09:25:31 -0700 (MST) Received: from lulu.bad.dog (localhost [127.0.0.1]) by lulu.bad.dog (8.12.6/8.12.6) with ESMTP id gBGGPknu002304; Mon, 16 Dec 2002 10:25:46 -0600 (CST envelope-from robin@damm.ca) Received: (from robin@localhost) by lulu.bad.dog (8.12.6/8.12.6/Submit) id gBGGPk7j002303; Mon, 16 Dec 2002 10:25:46 -0600 (CST) Date: Mon, 16 Dec 2002 10:25:46 -0600 From: Robin Damm Subject: Re: Wheelmouse In-reply-to: <1040048333.3dfde0cdbddb1@www.swissgeeks.com> To: Pierrick Brossin Cc: freebsd-questions@freebsd.org Mail-Followup-To: Pierrick Brossin , freebsd-questions@freebsd.org Message-id: <20021216162546.GA2198@lulu.bad.dog> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20021216160646.C281-100000@gemini.fixx.co.za> <20021216140917.GA8167@kierun.org> <1040048333.3dfde0cdbddb1@www.swissgeeks.com> X-Authentication-warning: lulu.bad.dog: robin set sender to robin@damm.ca using -f Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 16, 2002 at 03:18:53PM +0100, Pierrick Brossin wrote: > Quoting Yann Golanski : > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message