Slide 34
Slide 34 text
WHAT WE DO NOW
1. Set up some gesturemove* and flick listeners
2. Store the [x1,y1] of gesturemovestart
3. Compare [x1,y1] to [x2,y2] from gesturemove to determine direction + delta
4. Compare [x1,y1] to [x2,y2] from gesturemoveend to determine direction + delta
5. In callbacks, branch logic based on direction
6. Make sure that these do not get called twice in devices that support mouse and
touch, but yet, also works with both.