https://bugs.freedesktop.org/show_bug.cgi?id=104867

Peter Hutterer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #1 from Peter Hutterer <[email protected]> ---
Just a few notes: the TOUCH capability is assigned to any touch device, even
single-touch touchscreens. Whether it's single touch or multi-touch is not
exposed, but we have device->mt.slots_len with the number of slots internally.

There is no capability API outside of that, the closest we have for querying
specific devices is the libinput_device_<type>_has* set of functions to check
for buttons or keys. So libinput_device_touch_get_num_touches() would fit, and
so would libinput_device_touch_has_multitouch() for a basic boolean check.

CC-ing carlos in case he has any thoughts on using it in mutter.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to