Common touching gestures
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 |
Press on the surface lightly. |
Click a button. |
Double tap |
Tap twice on the surface. |
Double click on a program icon and start it. |
Hold |
Press on the surface and wait for a while. |
Simulates right-clicking on touch screens. |
Swipe |
Drag on the surface and release quickly. |
Pans the scroll bars to view parts of the content. |
Drag |
Drag slowly on the surface. |
Drags an item and drop it somewhere. |
Two-finger tap |
Click on... |