Learning how the surface contacts work

by brogge 6. March 2009 02:04

Having read most of the Surface SDK over the last couple of days, I started playing with the examples. I started changing one of the SDK examples in order to create an application that I had in my mind for a long time. That is coming along nicely. I'll blog about this application later.

Last night I was a little confused on what events are generated when touching the surface. The Visualization example does a good job at showing the data (what object is recognized, where is it positioned, what's the rotation, etc.) received in an application when the surface is touched. I wanted to know a little more about the chain of events received by a SurfaceControl.

Therefore I spent half an hour creating a small application that lists these events. The application itself will not teach you a lot, but it's interesting to play around with the events that are received. It can bring some extra understanding on how the contacts are being processed (especially for a beginning surface developer).

Please feel free to download the application and have a look at the results.

TouchIdentifierApplication.zip (181.06 kb)

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Microsoft Surface

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen