From owner-freebsd-questions Thu Oct 25 14:48:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moya.lambermont.dyndns.org (e165253.upc-e.chello.nl [213.93.165.253]) by hub.freebsd.org (Postfix) with ESMTP id D253037B401; Thu, 25 Oct 2001 14:48:05 -0700 (PDT) Received: by moya.lambermont.dyndns.org (Postfix, from userid 1001) id A9A2236415; Thu, 25 Oct 2001 23:48:04 +0200 (CEST) Date: Thu, 25 Oct 2001 23:48:04 +0200 To: John Baldwin Cc: Jonathan Atkins , Antal Novak , doc@FreeBSD.org, freebsd-questions@FreeBSD.ORG, Joe Clarke Subject: Re: SOLVED Re: Imwheel problems++ Message-ID: <20011025234804.B46992@moya.lambermont.dyndns.org> References: <20011025224317.A46992@moya.lambermont.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Thu, Oct 25, 2001 at 05:59:42AM -0700 From: hans@lambermont.dyndns.org (H) 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 John Baldwin wrote: > You only use ZAxisMapping if you _don't_ use the moused -z 4 option. > Please read the FAQ thorougly. I did, read on. > It describes 2 ways of achieving the desired mapping of the Z axis to > buttons. One is to use moused -z 4 and Buttons 5, the other is to use > ZAxisMapping w/o Buttons or moused's -z 4 flag. In the FAQ I read it does not. In http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#AEN3769 it says: a. Using moused(8) to Translate Wheel Events To have moused(8) perform the event translations, simply add -z 4 to the command line used to start moused(8). For example, if you normally start moused(8) via moused -p /dev/psm0 you would start it by entering moused -p /dev/psm0 -z 4 instead. If you start moused(8) automatically during bootup via /etc/rc.conf, you can simply add -z 4 to the moused_flags variable in /etc/rc.conf. You now need to tell X that you have a 5 button mouse. To do this, simply add the line Buttons 5 to the ``Pointer'' section of /etc/XF86Config. For example, you might have the following ``Pointer'' section in /etc/XF86Config. and then Example 9-1 for the XFree86 3.3.x series (which is not applicable, as I use 4.x) and then one for XFree86 4.x series, still for cases where you use the moused : Example 9-2. ``InputDevice'' Section for Wheeled Mouse in XFree86 4.x series XF86Config with automatic protocol recognition and button mapping Translation Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psm0" Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection I think this Example 9-2 should have the line Option "ZAxisMapping" "4 5" removed, and Option "Device" "/dev/psm0" changed into Option "Device" "/dev/sysmouse" Agreed ? Were you perhaps referring to another FAQ ? regards, Hans Lambermont -- http://lambermont.webhop.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message