I then initialize the Dictionarys in the Form's Constructor startLocation = new Dictionary((int)SupportedContacts.Contacts) So it has been tested in the Simuator with all of its limitations, and as mentioned in the above links Windows 8 doesn't not have built in gesture support for detecting multiple fingers you have to use lower level functions.įirst of all I added two more dictionary's to the above MSDN example code and two variable for your Swipe Threshold to the Class definitions. Just a caveat, I do not have a multitouch Windows 8 device to test this code on. In the case of multiple devices or multi-touch input, each contact is treated as a unique pointer. The system creates a pointer when a contact is first detected and destroys it when the pointer leaves (departs) detection range or is canceled. The documentation with working example code resides in the MSDN LibraryĪ pointer object represents a single, unique input 'contact' (a PointerPoint) from an input device (such as a mouse, pen/stylus, single finger, or multiple fingers). According to this MSDN Forum Posting you will need to use pointer notifications.