The swipe gesture data type.
Synopsis:
typedef struct {
gesture_base_t base ;
swipe_params_t params ;
gesture_coords_t initial_coords ;
gesture_coords_t coords ;
gesture_coords_t last_coords ;
int moving ;
int direction ;
}gesture_swipe_t;
Data:
- gesture_base_t base
- The gesture base data structure.
- swipe_params_t params
- The swipe parameters.
- gesture_coords_t initial_coords
- The coordinates of the first touch.
- gesture_coords_t coords
- The coordinates of an intermediate point in the swipe.
- gesture_coords_t last_coords
- The coordinates of the point where the finger was lifted from the screen.
- int moving
- Indicates whether the last event was a move.
- int direction
- The direction of the swipe.
Library:
libgestures
Description:
This structure carries data about the swipe gesture.