Date: Thu, 25 Oct 2001 14:52:49 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: (H) <hans@lambermont.dyndns.org> Cc: Joe Clarke <marcus@marcuscom.com>, freebsd-questions@FreeBSD.ORG, doc@FreeBSD.org, Antal Novak <afn@weevil.net>, Jonathan Atkins <jcatki@home.com> Subject: Re: SOLVED Re: Imwheel problems++ Message-ID: <XFMail.011025145249.jhb@FreeBSD.org> In-Reply-To: <20011025234804.B46992@moya.lambermont.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011025145249.jhb>