<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span> changed
<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>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>carlosg@gnome.org, peter.hutterer@who-t.net
</td>
</tr></table>
<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#c1">Comment # 1</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:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span></b>
<pre>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.</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>