[Xorg] why is Option "ZAxisMapping" "4 5" needed for my scrollmouse to work
Jörgen Lidholm
jlm01001 at student.mdh.se
Sun Aug 15 03:48:10 PDT 2004
On Sun, 2004-08-15 at 02:14, Jim Gettys wrote:
> Well, that looks easy.
>
> Unless someone knows why it would be a bad idea, maybe we
> should consider it.
> - Jim
I have a Intellimouse Explorer 2.0 which has actually 9 buttons.
Or 7 plus two non-working mousewheel-tilt-buttons.
I think that I have to remap my buttons so that the wheel is set
to button 6 7 and my side buttons to 4 5 to get them to work.
At least that is how I've configured it...
/Jorgen
> On Sat, 2004-08-14 at 20:05, Kristian Høgsberg wrote:
> > Alan Coopersmith wrote:
> > > I've also wondered that - so much that for the builds I do for Sun
> > > for our own internal testing, I set it by default. (Unfortunately,
> > > it's just in the Sun mouse support code right now - to do it for
> > > real would be finding the right place in the os-independent mouse
> > > code, so my patch won't help there.)
> >
> > It's pretty trivial, we could even consider putting it in 6.8.0:
> >
> > Index: mouse.c
> > ===================================================================
> > RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c,v
> > retrieving revision 1.3
> > diff -u -p -r1.3 mouse.c
> > --- mouse.c 24 Jul 2004 17:35:39 -0000 1.3
> > +++ mouse.c 15 Aug 2004 00:06:00 -0000
> > @@ -527,7 +527,7 @@ MouseCommonOptions(InputInfoPtr pInfo)
> > }
> > }
> >
> >
> > - s = xf86SetStrOption(pInfo->options, "ZAxisMapping", NULL);
> > + s = xf86SetStrOption(pInfo->options, "ZAxisMapping", "4 5");
> > if (s) {
> > int b1 = 0, b2 = 0, b3 = 0, b4 = 0;
> > char *msg = NULL;
> >
> >
> > > Jim Gettys wrote:
> > >
> > >> Good question...
> > >>
> > >> I've wondered this myself.
> > >>
> > >> Is there any reason this can't be the default behavior,
> > >> and only have to mess around if you don't want scroll behavior?
> > >> - Jim
> > >>
> > >> On Sat, 2004-08-14 at 11:29, Kristof Vansant wrote:
> > >>
> > >>> Why is Option "ZAxisMapping" "4 5" needed for my scrollmouse to work.
> > >>> Can't there be some detection for this or just enabled by default?
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> xorg mailing list
> > >> xorg at freedesktop.org
> > >> http://freedesktop.org/mailman/listinfo/xorg
> > >
> > >
> > >
>
> _______________________________________________
> xorg mailing list
> xorg at freedesktop.org
> http://freedesktop.org/mailman/listinfo/xorg
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20040815/2475c471/attachment.pgp>
More information about the xorg
mailing list