Using Pointers & Gestures

So far in this book, I have relied on the standard DOM events, such as click and moveover to respond to user input. This is a workable approach for simple interactions, but different techniques are required to get the most from Windows apps, especially to support touch gestures, which make it easy for users to express complex commands. In this chapter, I show you how to determine which input technologies are supported on a Windows 8 device, explain how Windows uses a generalized system of pointers to represent these inputs and how to recognize touch gestures.