Game Development Reference
In-Depth Information
Figure 4-1. Here you can see a graphical representation of how the MSPointer works by encapsu-
lating mouse, touch, and pen input into a single point object.
As you can see, references to a pointer object abstracts the type of input and gives you the
necessary x,y values along with other properties you would need to have access to in your
game. Let's look at how touch events work in Windows 8 compared to WebKit.
Search WWH ::




Custom Search