[Xorg] why is Option "ZAxisMapping" "4 5" needed for my scrollmouse to work

Jim Gettys Jim.Gettys at hp.com
Sat Aug 14 17:14:37 PDT 2004


Well, that looks easy.

Unless someone knows why it would be a bad idea, maybe we
should consider it.
                      - Jim

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
> > 
> > 
> > 




More information about the xorg mailing list