The next step of this chapter is to support some very basic gestures so our cursors can really work in interactive applications, rather than only provide the locations. Before that, we will first introduce common single and multitouch gestures and how they are implemented in this section. Although we are going to finish only two of them (holding and swiping), it is still necessary to have a general understanding here, for the purpose of developing a gesture-based user interface in the future.
Gesture name |
Action |
Equivalent mouse action |
---|---|---|
Tap |
Click a button. | |
Double tap |
Double click on a program icon and start it. | |
Hold |
Simulates right-clicking on touch screens. | |
Swipe |
Pans the scroll bars to view parts of the content. | |
Drag |
Drags an item and drop it somewhere. | |
Two-finger tap |
Click on... |