[RFC] Multitouch support, step one

Henrik Rydberg rydberg at bitmath.org
Tue Mar 16 17:23:54 PDT 2010


Daniel Stone wrote:
> Hi,
> 
> On Tue, Mar 16, 2010 at 01:36:32PM +1000, Peter Hutterer wrote:
>> I expect so too. Right now, MAX_VALUATORS is a simple #define that can be
>> arbitrarily changed. Except that like so many defines we need to ensure that
>> actually changing it doesn't cause regression in code that expects it to be
>> exactly 36 (I just checked again, it's actually 36, not 32)
> 
> Indeed.
> 
>> The only hard limit I can think of is 256 which is what the XI1 protocol
>> limits it to.
> 
> Even then, you can just deliver the first 256 to XI1 clients and still
> deliver UINT_MAX to XI2 clients. *shrug*

Now *that* is a deal-breaker. It basically removes concern number four on my
list. So if disregarding number five as artistic taste, one could inject the
valuators from the contact driver, adressing number one, two and three on the
list, and we would be done.

How about that.

Henrik



More information about the xorg-devel mailing list