From owner-freebsd-doc Thu Oct 25 14:53:20 2001 Delivered-To: freebsd-doc@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 2087837B426 for ; Thu, 25 Oct 2001 14:52:53 -0700 (PDT) Received: (qmail 10951 invoked from network); 25 Oct 2001 21:52:51 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 25 Oct 2001 21:52:51 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20011025234804.B46992@moya.lambermont.dyndns.org> Date: Thu, 25 Oct 2001 14:52:49 -0700 (PDT) From: John Baldwin To: (H) Subject: Re: SOLVED Re: Imwheel problems++ Cc: Joe Clarke , freebsd-questions@FreeBSD.ORG, doc@FreeBSD.org, Antal Novak , Jonathan Atkins Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 25-Oct-01 H wrote: > 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 ? I wrote this original FAQ entry. :) It seems the 4.x support botched it some though. The caption for that example is busted, and yes, it needs the changes you specified. I'll look at it. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message