On Wednesday 03 April 2002 01:08 am, Thomas HERAULT wrote:
>       Hi,
>
>       I've had the same problem. My distant XServer wasn't supporting the 4 and
> 5 buttons through the Pointer Option  "ZAxisMapping" "4 5".
>       x2x should detect this when we call XGetPointerMapping : it returns 3 and
> not 5. Here is a patch against x2x version 1.27 for handling it correctly :
> if there is less buttons handled by the distant XServer than requested, the
> other buttons are silently ignored. At least, x2x won't crash if you use
> your wheel by accident, but until you enable wheel mouses in the distant
> XServer (even if there is no such pointer connected to it), your wheel
> won't be usable on this server.
>
> Hope this helps, Thomas.

Thanks for the patch, Thomas.  It turns out the core pointer on the distant 
server was only set up with 3 buttons, although other pointers had 5.  Adding 
the ZAxisMapping line to the distant XF86Config-4 did the trick and the patch 
wasn't even necessary in the end.

Thanks again,
-n8

-- 
Nathaniel Gray

California Institute of Technology
Computation and Neural Systems
--
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to