This shows you the differences between two versions of the page.
|
software:gui-designer:gestures [2012/12/21 04:33] jarrod |
software:gui-designer:gestures [2016/12/13 21:35] (current) jarrod [Attaching Gestures] |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Attaching Gestures ===== | ===== Attaching Gestures ===== | ||
| - | Gestures can currently be attached to Pages, Subpages and Image objects. We also plan to eventually allow gestures to be applied to buttons, text, sliders, etc.\\ | + | Gestures can currently be attached to Pages, Subpages and Image objects.\\ |
| The use of Images and Subpages with attached Gestures allows you to create only certain areas of the interface which react to a gesture.\\ | The use of Images and Subpages with attached Gestures allows you to create only certain areas of the interface which react to a gesture.\\ | ||
| \\ | \\ | ||
| Line 33: | Line 33: | ||
| ==== Taps ==== | ==== Taps ==== | ||
| - | Taps are a quick press and release on the touchscreen, in a single motion. They can be defined with between 1 and 10 finger touches. Tap gestures can also specify the number of taps, like a double click on a mouse. The number of taps can range from 1 to any number.\\ | + | Taps are a quick press and release on the touchscreen, in a single motion. They can be defined with between 1 and 10 finger touches. Tap gestures can also specify the number of taps, like a double click on a mouse. The number of taps can range from 1 to any number. But if you have a gesture assigned for two taps and one for three taps, both gestures will be triggered when performing a triple tap on the device.\\ |
| There are some [[software:gui-designer:tokens|tokens]] created by default which can be used in dynamic commands: | There are some [[software:gui-designer:tokens|tokens]] created by default which can be used in dynamic commands: | ||
| * ''[startx]'' and ''[x]'' = X position of the gesture. | * ''[startx]'' and ''[x]'' = X position of the gesture. | ||
| Line 89: | Line 89: | ||
| * ''[deltax]'' = the difference between the [startx] and [x] at any time in the gesture. | * ''[deltax]'' = the difference between the [startx] and [x] at any time in the gesture. | ||
| * ''[deltay]'' = the difference between the [starty] and [y] at any time in the gesture. | * ''[deltay]'' = the difference between the [starty] and [y] at any time in the gesture. | ||
| + | * ''[velocityx]'' = rate at which the fingers are moving horizontally. | ||
| + | * ''[velocityy]'' = rate at which the fingers are moving vertically. | ||