Comments

Alan Coopersmith alan.coopersmith at sun.com
Tue Jul 11 21:28:33 EEST 2006


Some operations in the core protocol are limited to 5 buttons, but mice
can report events for more than just 5 buttons and many systems today
have mice with more than that.   (I seem to remember a limit of 32 buttons
somewhere, but that may be an X server implementation detail.)

 From looking at the protocol, ButtonMotion events are limited to the first
5 buttons, as are the masks used in QueryPointer and in the modifier state
field of events, but no limit is stated beyond the size of a button number
being a CARD8 for the button numbers that can be used in GetPointerMapping
& SetPointerMapping requests, and ButtonPress/ButtonRelease events.


	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering

Stuart Anderson wrote:
> 
> Comments anyone?
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=7428
> 
> Does anyone remember off the top of their head if the protocol specifies
> only 5 buttons? If so, instead of just making the simple change as in
> the patch attached to this bug, would we issue a warning of some sort if
> there are more than 5 buttons?
> 
> 
> 
>                                 Stuart
> 
> Stuart R. Anderson                               anderson at netsweng.com
> Network & Software Engineering                   http://www.netsweng.com/
> 1024D/37A79149:                                  0791 D3B8 9A4C 2CDC A31F
>                                                  BD03 0A62 E534 37A7 9149
> _______________________________________________
> xorg-test mailing list
> xorg-test at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-test





More information about the xorg-test mailing list