[Wayland-bugs] [Bug 102649] Mouse taps (?) detected while typing
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 22 08:58:43 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102649
--- Comment #36 from Peter Hutterer <peter.hutterer at who-t.net> ---
running libinput debug-events has *no* effect on the current session, it's a
completely separate context that just looks at the same events coming out of
the kernel. assuming you use the same libinput version, what X receives should
be the same as debug-events prints but otherwise they can be completely
different versions - and have different configurations as well (see the
libinput-debug-events man page for enabling the various options).
taps are printed as POINTER_BUTTON events. Annotated excerpt:
event1 - pressure: begin touch
detected a touch with high enough pressure that it counts as touch
event1 - thumb state: THUMB_STATE_MAYBE → THUMB_STATE_NO
ruled out as thumb
event1 - palm: palm detected (typing)
DWT is active, touch is labelled as palm
event1 - button state: from BUTTON_STATE_NONE, event BUTTON_EVENT_IN_AREA to
BUTTON_STATE_AREA
touch is outside software button area
event0 KEYBOARD_KEY +19.58s *** (-1) released
event0 KEYBOARD_KEY +19.58s *** (-1) pressed
keyboard press + release posted - this is an event that will actually be passed
on, so far we just had debug messages (note the one-space indent)
event1 - pressure: end touch
pressure dropped below threshold, touch is logically up
event1 - button state: from BUTTON_STATE_AREA, event BUTTON_EVENT_UP to
BUTTON_STATE_NONE
touch is logically up for the software button code
That's it. note that the only events sent here were the two keyboard events,
the rest is just debug messages. Note how there is no POINTER_BUTTON event in
that log at all, just motion and keyboard events. I'm assuming you run with
--enable-tap like requested above?
--
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/20171122/2c89f278/attachment.html>
More information about the wayland-bugs
mailing list