Hi,

While testing the wacom tablet driver with xinput2 on the Lenovo Thinkpad
x230t (ISDv4 E6) running xf86-input-wacom-0.21.99.1 we noticed some things
that seem strange:

(Testing was done using 'xinput --test-xi2 <pen_device_id>' and "Option
'Gesture' 'Off'" in xorg.conf)

1. When moving the pen into proximity (without touching the surface) and 
then
pressing the pen-button, no RawButtonPress events are generated, while
releasing the button gives us a RawButtonRelease event. The xf86-input-evdev
driver raises that event.

2. Another issue can be described as follows:

=============== =============================== ==========================
Action          Event(actually)                 Event(expected)
=============== =============================== ==========================
pen-down        RawButtonPress(detail=1) RawButtonPress(detail=1)

pen-button-down RawButtonRelease(detail=1) RawButtonPress(detail=3)
                 RawButtonPress(detail=3)

pen-button-up   RawButtonRelease(detail=1) RawButtonRelease(detail=3)
                 RawButtonRelease(detail=3)

pen-up          RawButtonRelease(detail=1) RawButtonRelease(detail=1)
=============== =============================== ==========================


=============== =============================== ==========================
Action          Event(actually)                 Event(expected)
=============== =============================== ==========================
pen-down        RawButtonPress(detail=1) RawButtonPress(detail=1)

pen-button-down RawButtonRelease(detail=1) RawButtonPress(detail=3)
                 RawButtonPress(detail=3)

pen-up          RawButtonRelease(detail=3) RawButtonRelease(detail=1)

pen-button-up   RawButtonRelease(detail=3) RawButtonRelease(detail=3)
=============== =============================== ==========================

3. Why does the pen-button generate RawButton{Press,Release} events with
detail=3 by default? The evdev driver emits events with detail=2. This 
is not
that nice when trying to support both out of the box.

4. Additionally, when working with the Qt5-Library the Touchpanel does 
not work.
We tracked that down to the fact, that Qt watches for event-valuators with
atoms AbsMTPosition{X,Y} while the driver labels the valuators with 
Abs{X,Y}.
This is probably implmented that way because the xf86-input-evdev uses these
atoms. Is this a bug in xf86-input-evdev or in the xf86-input-wacom driver?

We hope to hear some thoughts on these issues, and will gladly provide more
information if needed.

Greetings
Hendrik Woidt


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to