Possible C# WPF Stylus Input Bug

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
900 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 10, 2009

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...

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • 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.

  • Very cool,

    how did you do that?

    Is the Source Code anywhere to download?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more