Bug 104911

Summary: Fake BTN_TOOL_PEN on tablets that don't send it
Product: Wayland Reporter: Peter Hutterer <peter.hutterer>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: martin.kolman, peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:
Bug Depends on: 104939    
Bug Blocks: 103476    

Description Peter Hutterer 2018-02-02 02:04:17 UTC
Some tablets have BTN_TOOL_PEN (and others) but never actually send the events. We should emulate those internally when we see BTN_TOUCH or a nonzero pressure, as well as enabling the proximity out quirk automatically on those devices.

has evemu recordings for an aiptek tablet that doesn't send those tool events.
Comment 1 Peter Hutterer 2018-02-07 01:46:59 UTC
See series starting here:
Comment 2 Peter Hutterer 2018-02-13 08:22:54 UTC
commit 2191ed6cc0e80e5fdfb9a560d293a76edd251864
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Feb 6 14:22:01 2018 +1000

    tablet: fake a BTN_TOOL_PEN on the first event if needed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.