Subject: Re: Two mouses
To: None <port-i386@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 03/02/2005 03:37:29
>>> [...stuff about mouse wheels and button numbering...]
>> [...mini-rant about clients assuming 3-button mice...]
> Note that while the core protocol doesn't require any buttons, [it]
> does place a maximum limit of five on an implimentation; There aren't
> any bits in the event structure for more.
Thank you. When I wrote my response, I felt sure there was a limit on
button count, but couldn't recall where it came from and didn't find it
when skimming through the docs looking for it.
Actually, looking at the (R4) protocol doc, I don't think that's quite
right. Rather, buttons above the first five are restricted: you cannot
select button-specific motion event types for them (there are
Button1Motion through Button5Motion, but that's it) and you do not get
state bits in other events for any but the first five buttons. But I
see no other restrictions. (Am I still missing something?)
After all, didn't we just hear from someone who was using a pointer
with ten buttons (counting the two which are really a wheel)?
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML firstname.lastname@example.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B