This demonstrates what I believe is a possible bug with C# WPF and how stylus move events are forwarded to mouse move events for mouse emulation. For some reason, the MouseMove event is not updated until the stylus moves beyond a certain threshold, about 16 pixels or so. Watch the two vertical lines being dragged by the pen. The red line is the X value from the StylusMove event, the blue line is from the MouseMove event. The values are also shown above. You can plainly see that the MouseMove doesn't start until the pen moves beyond a certain threshold. I see this with a Wacom Cintiq 12UX and a Lenovo X60 Tablet PC.
See my related post on MSDN:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/3fac8b98-01c5-4749-a...
I've experienced this problem in openCanvas too, but I didn't realize it was a bug.
So shouldn't it be easy to work around this? Just use the StylusMove event (I'm assuming it is an event, correct me if I'm wrong) instead of the MouseMove event, right?
Also, nice Cintiq.
ValantNovalight 2 years ago
Very cool,
how did you do that?
Is the Source Code anywhere to download?
EarthWorm44 2 years ago