Hi,

Thanks for the elaborate answer!

I've implemented ABS_MISC events with the device ID that got returned
from the hardware. However, this seems to have introduced a few bugs.
When the stylus comes in-prox, the pointer jumps to (0,0) (the upper
left of the screen) for a fraction of a second (even if I don't
explicitly reset all values to 0 when going out-prox). When the mouse
puck comes in-prox, the mouse pointer jumps to the lower right of the
screen (and stays there, because the mouse acts with relative
displacements).

When the mouse comes in-prox after the stylus, the pointer is only
affected by the movement of the stylus.
When the stylus comes in-prox after the mouse, the pointer 'freezes'
and won't respond to movement until one of the devices leaves
proximity.

I couldn't find an obvious bug by going over the code (quickly). Is
this behaviour due to X not knowing the concept of two concurrent
pointing devices, or is there something wrong with my implementation?
(not that unlikely ;-)).

I'd still like to know that the expected behaviour should be when the
two channels are working properly, is there any way to test or verify
this? What should be the exact events that I'm getting (eg captured
with evtest or similar)?


I also have a small question, just to be sure I'm doing it right:

> A tablet declaring ABS_MISC support+tablet ID
> together is what xf86-input-wacom uses to detect its a protocol 5
> device (multi-tool in proximity feature).

Just to be sure: with "declaring tabled ID", you mean MSC_SERIAL
events (with the serial number as received by the hardware), correct?


Lastly, for what it's worth, I'm running a 2.6.39.2 kernel with a
1.10.2 xorg server and xf86-input-wacom 0.11.0.


Roald

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to