{{htmlmetatags>metatag-og:title=(GestureWorks 2 - Default Gestures)
metatag-description=(A reference for descriptions and properties of GestureWorks 2 default gestures.)
metatag-keywords=(gesture authoring, multitouch authoring, gesture-based authoring, gesture markup, gestureml, gesture mark up language, GestureWorks, multitouch SDK, default gestures, UI gestures, screen gestures, visualizer, API, SDK)
metatag-og:description=(A reference for descriptions and properties of GestureWorks 2 default gestures.)
metatag-og:type=(article)
metatag-og:url=(http://gwiki.gestureworks.com/doku.php/default_gestures)
metatag-og:site_name=(GestureWorks 2 Wiki- Comprehensive Gesture-Processing Library for Windows Applications)
metatag-og:image=(http://gestureworks.com/images/828138ec-d80c-419b-192f-cde0258f2108.png)}}
====== Default Gestures ======
GestureWorks by default creates a basic set of gestures to use. Below are the descriptions of gestures including gesture properties.
----
===== Drag =====
Type: **drag**
Id: **ndrag**
==== Properties ====
**drag_dx** - delta x
**drag_dy** - delta y
The 'ndrag' gesture can be activated by any number of touchpoints. When a touchdown is recognized on a touch object the position of the touch point is tracked. This change in the position of the touch point is mapped directly to the position of the touch object.
----
===== Rotate =====
Type: **rotate**
Id: **nrotate**
==== Properties ====
**rotate_dtheta** - rotate change
The 'nrotate' gesture is designed to provide object rotation functionality using any number of touch points.
----
===== Scale =====
Type: **scale**
Id: **nscale**
==== Properties ====
**scale_dsx** - factor of change of scale x
**scale_dsy** - factor of change of scale y
The 'nscale' gesture is designed to provide object scaling or zoom functionality using any number of touch points.
This gesture can be activated by any number of touch points between 2 and 10.
----
===== Scroll =====
Type: **scroll**
Id: **nscroll**
==== Properties ====
**scroll_dx** - change of scroll x
**scroll_dy** - change of scroll y
The 'nscroll' gesture can be activated by any number of touchpoints. When a touchdown is recognized on a touch object, the average velocity of the touch points are tracked. If velocity of the cluster is above the translation threshold a scroll event is continuously dispatched with inertia.
----
===== Swipe =====
Type: **swipe**
Id: **nswipe**
==== Properties ====
**swipe_dx** - change of x
**swipe_dy** - change of y
The 'n-swipe' gesture can be activated by any number of touchpoints. When a touchdown is recognized on a touch object, the velocity and acceleration of the touch points are tracked. If acceleration of the cluster is below the acceleration threshold a swipe event is dispatched.
----
===== Flick =====
Type: **flick**
Id: **nflick**
==== Properties ====
**flick_dx** - change of x
**flick_dy** - change of y
The 'n-flick' gesture can be activated by any number of touchpoints. When a touchdown is recognized on a touch object, the velocity and acceleration of the touch points are tracked. If acceleration of the cluster is above the acceleration threshold a flick event is dispatched.
----
===== Tap =====
Type: **tap**
Id: **ntap**
==== Properties ====
**tap_x** - x of tap
**tap_y** - y of tap
**tap_n** - number of tap points
----
===== Double Tap =====
Type: **double_tap**
Id: **ndouble_tap**
==== Properties ====
**double_tap_x** - x of tap
**double_tap_y** - y of tap
**double_tap_n** - number of tap points
----
===== Hold =====
Type: **hold**
Id: **nhold**
==== Properties ====
**hold_x** - x of hold
**hold_y** - y of hold
**hold_n** - number of hold points