Bug 23355

Summary: BTN_TOOL_PEN and friends is not converted to button left/middle/right presses
Product: xorg Reporter: Peter Hutterer <peter.hutterer>
Component: Input/evdevAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: mike.auty
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 16699    
Attachments:
Description Flags
evtest output of a wacom tablet none

Description Peter Hutterer 2009-08-16 17:04:10 UTC
Created attachment 28685 [details]
evtest output of a wacom tablet

Tablets send BTN_TOOL_PEN, BTN_TOOL_STYLUS, etc. when touching the tablet with the pen. These events are currently completely dropped, evdev only goes up to BTN_JOYSTICK.

evdev should:
- initialize these buttons
- map or convert these buttons into left/middle/right presses as appropriate.
Comment 1 Peter Hutterer 2009-12-02 17:49:39 UTC
:: whot@barra:~/xorg/driver/xf86-input-evdev (evdev-2.3-branch)> tig master
commit 1b0df04abe329433658c95debdafdf1714173814
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Dec 1 15:44:39 2009 +1000

    Fix up BTN_TOUCH handling for non-button tablets.
    
    BTN_TOOL_* is treated as tool, just like before. BTN_TOUCH on the other hand
    may need to be treated as a button left press. This again requires a button
    class.
    
    Tested on an HP Touchsmart and a Wacom tablet.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

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.