Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Oct 2005 04:47:34 +0000
From:      Eric Kjeldergaard <kjelderg@gmail.com>
To:        Arne Schwabe <arne@rfc2549.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Vertikal and Horizontal Scroll of (mighty) mice
Message-ID:  <d9175cad0510082147h7498202bl@mail.gmail.com>
In-Reply-To: <430E02DE.2050002@rfc2549.org>
References:  <430E02DE.2050002@rfc2549.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/25/05, Arne Schwabe <arne@rfc2549.org> wrote:
> Hi,
>
> I just got myself myself a shiny white Mighty Mouse from Apple.
>
> I now have the Problem that Wheel if the scrolling to left and right.
> I fixed this by teaching ums.c to prefer WHEEL over Z but it would be
> nice to support both wheel and z axis scrolling. I checked the mouse(4)
> but the dataformat there does not even support a forth axis. Hacking
> ums.c to map z axis to buttons 7 and 8 would be possible, but not a
> clean solution. Another Option would be to add a z2 axis or something
> tothe SYSMOUSE format.
>
> What are your opinion?

moused supports horizontal scrolling using 2 and -2 instead of 1 and
-1 as values for the zaxis.  xorg handles it similarly so for x to do
horizontal and vertical, it should have something like
Option  "Buttons" "7"
Option  "ZAxisMapping" "4 5 6 7"

Hope that helps,

Eric

--
If I write a signature, my emails will appear more personalised.



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