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 the surface with two fingers at the same time.

None.

Zoom/Pinch

Move two fingers on the surface, towards or apart from each other.

Simulates the mouse wheel on touch screens.

Rotate

Make one finger the pivot, and move another around.

Another implementation is to move the two fingers in opposing directions.

None.

There are more resources about multitouch gesture implementations in depth. For example, the Microsoft Touch Gesture website:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd940543(v=vs.85).aspx

You can also see the wiki page, which explains the history and implementation details:

http://en.wikipedia.org/wiki/Multi_touch

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.31.209