[Wayland-bugs] [Bug 104415] My wireless all-in-one (keyboard/mouse) requires a triple-tap to highlight a word

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 21 23:10:39 UTC 2018


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

Peter Hutterer <peter.hutterer at who-t.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED

--- Comment #5 from Peter Hutterer <peter.hutterer at who-t.net> ---
Ok, the issue here is the new button debouncing code. The event sequence shows
this for the second button press:

E: 0.135988 0004 0004 589825    # EV_MSC / MSC_SCAN             589825
E: 0.135988 0001 0110 0001      # EV_KEY / BTN_LEFT             1
E: 0.135988 0000 0000 0000      # ------------ SYN_REPORT (0) ---------- +8ms
E: 0.145980 0004 0004 589825    # EV_MSC / MSC_SCAN             589825
E: 0.145980 0001 0110 0000      # EV_KEY / BTN_LEFT             0
E: 0.145980 0000 0000 0000      # ------------ SYN_REPORT (0) ---------- +10ms

i.e. the device pretends the button was pressed 8ms after releasing it and
released 10ms after pressing it. This is too short a timeout for real-world
button clicking and is usually a sign of broken buttons. Because it is pressed
and released within the timeouts the button event is discarded (you should have
a message in the log warning you about this).

I can't think of a good way to fix this but I guess not debouncing of this set
of devices is a workaround.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180121/37f0166f/attachment-0001.html>


More information about the wayland-bugs mailing list