<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Export the number of touches"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104867#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Export the number of touches"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104867">bug 104867</a>
from <span class="vcard"><a class="email" href="mailto:carlosg@gnome.org" title="Carlos Garnacho Parro <carlosg@gnome.org>"> <span class="fn">Carlos Garnacho Parro</span></a>
</span></b>
<pre>(In reply to Peter Hutterer from <a href="show_bug.cgi?id=104867#c1">comment #1</a>)
<span class="quote">> 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.</span >
Not specifically tbh. All multitouch functionality is already redundant so we
don't have any place where we want to act differently if n_touches==1.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>