Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2001 05:59:42 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        (H) <hans@lambermont.dyndns.org>
Cc:        Jonathan Atkins <jcatki@home.com>, Antal Novak <afn@weevil.net>, doc@FreeBSD.org, freebsd-questions@FreeBSD.ORG, Joe Clarke <marcus@marcuscom.com>
Subject:   RE: SOLVED Re: Imwheel problems++
Message-ID:  <XFMail.011025055942.jhb@FreeBSD.org>
In-Reply-To: <20011025224317.A46992@moya.lambermont.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25-Oct-01 H wrote:
> Joe Clarke wrote:
> 
>> On Tue, 23 Oct 2001, H wrote:
>> > I read most of the imwheel posts on -questions, but I still have a
>> > problem with it.  Here's my situation: I use 'moused -z 4 -p
>> > /dev/psm0 -t auto', moused  does see the wheel actions (I know
>> > because I hacked it so that it prints +1 and -1 when I move the
>> > wheel). I tried this with both a Logitech S48 wheelmouse and a
>> > Microsoft Intellimouse. So far so good.  I run XFree86-4.1.0_7 from
>> > ports on 4.4-STABLE with the following section in my XF86Config:
>> > Section "InputDevice"
>> >     Identifier  "Mouse1"
>> >     Driver      "mouse"
>> >     Option      "Protocol"      "Auto"
>> >     Option      "Device"        "/dev/sysmouse"
>> >     Option      "Buttons"       "5"
>> >     Option      "ZAxisMapping"  "4 5"
>> > EndSection
>> I use:
>> Section "InputDevice"
>>     Identifier  "Mouse0"
>>     Driver      "mouse"
>>     Option      "Protocol" "auto"
>>     Option      "Device" "/dev/sysmouse"
>>     Option "Buttons"     "5"
>> EndSection
> 
> Excellent. The line
>     Option      "ZAxisMapping"  "4 5"
> actually broke it !
> 
> With this line removed the mousewheel works as expected. I'll copy this
> to inform <doc@FreeBSD.org> about the error in the FreeBSD FAQ at
> http://www.freebsd.org/FAQ/x.html#AEN3769

You only use ZAxisMapping if you _don't_ use the moused -z 4 option.  Please
read the FAQ thorougly.  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.

-- 

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-questions" in the body of the message




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