New approach to multitouch using DIDs and bitmasked events

Henrik Rydberg rydberg at bitmath.org
Sat Jul 3 08:32:28 PDT 2010


Rafi Rubin wrote:
[...]
>> MT Touchscreen:
>>   - Device is marked as a DID
>>   - Starts out floating, can't be attached
>>   - MT touch coordinates are the first two valuators, XIDeviceEvents are
>>     in screen coordinates. However, an app can grab XIRawEvents for
>>     device coordinates. *
>>   - Since it's a DID, button events are also blocked for core, XI1
> 
> Slight problem with masking out buttons.  Henrik, didn't you add different
> device types (ie, MT pen) to your protocol?  What do buttons mean on a mt pen?

Yes, there is ABS_MT_TOOL_TYPE to be used for mixed devices, such as the Bamboo
Pen & Touch. Buttons are still orthogonal to MT properties, and so far there
seems to be no reason not to treat them the "standard" way.

Thanks,
Henrik



More information about the xorg-devel mailing list