This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
default_gestures [2017/05/03 19:49] curtisb created |
default_gestures [2017/05/03 19:52] curtisb |
||
---|---|---|---|
Line 13: | Line 13: | ||
**drag_dx** - delta x | **drag_dx** - delta x | ||
**drag_dy** - delta y | **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. | 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. | ||
Line 25: | Line 26: | ||
**rotate_dtheta** - rotate change | **rotate_dtheta** - rotate change | ||
+ | The 'nrotate' gesture is designed to provide object rotation functionality using any number of touch points. | ||
---- | ---- | ||
Line 36: | Line 38: | ||
**scale_dsy** - factor of change of scale y | **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. | ||
---- | ---- | ||
Line 46: | Line 50: | ||
**scroll_dx** - change of scroll x | **scroll_dx** - change of scroll x | ||
**scroll_dy** - change of scroll y | **scroll_dy** - change of scroll y | ||
- | The 'n-scroll' 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. | + | 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. |
---- | ---- |