Bug 23355 - BTN_TOOL_PEN and friends is not converted to button left/middle/right presses
Summary: BTN_TOOL_PEN and friends is not converted to button left/middle/right presses
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 16699
  Show dependency treegraph
 
Reported: 2009-08-16 17:04 UTC by Peter Hutterer
Modified: 2009-12-02 17:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
evtest output of a wacom tablet (44.00 KB, text/plain)
2009-08-16 17:04 UTC, Peter Hutterer
no flags Details

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.