[Wayland-bugs] [Bug 93583] Cannot use multiple finger tapping to perform middle click
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 18 00:08:29 PST 2016
https://bugs.freedesktop.org/show_bug.cgi?id=93583
--- Comment #36 from Benjamin Tissoires <benjamin.tissoires at gmail.com> ---
(In reply to Peter Hutterer from comment #35)
> Benjamin: wouldn't it be better to work around this in the kernel? what
> seems needed here is simply suppressing the 0/0 event and sending
> BTN_TOOL_TRIPLETAP only instead.
Honestly, I don't think we will ever have a satisfying solution:
- Before 3c0213d17a09 ("Input: elantech - fix semi-mt protocol for v3 HW"), we
did not set the slot for slot 2 and only reported at most 1 slot if num_fingers
!= 2.
- 3c0213d17a09 fixed to not remove one slot when going from double tap to
triple tap.
- However, we now report 0,0 which can be considered as a move of the second
touch
- with latest commit in this bug report (too lazy to get the commit id), we set
the SEMI_MT flag, which basically says "the touches are wrong, but you might be
able to take some information from it".
In the slow case (one, then two, then three fingers), if we stop reporting the
0,0 coordinate, this will effectively fix this issue here. The second slot will
stay in place and will leave happily ever after.
However, if you triple tap directly, you end up receiving only the triple tap
message, which means we will set the second slot in whatever position it was
previously. If the previous gesture was a true palm, then we will end up in a
special corner case where we will have to instruct libinput to ignore this
case.
I would be more inclined to just disable all of our smart things we do in
libinput if we have a semi-mt device.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20160118/0ecbd8ee/attachment.html>
More information about the wayland-bugs
mailing list