Swipe gesture parameters.
Synopsis:
typedef struct {
unsigned directions ;
unsigned off_axis_tolerance ;
unsigned min_distance ;
unsigned min_velocity ;
}swipe_params_t;
Data:
- unsigned directions
- Bitmask of the directions in which the swipe can occur.
- unsigned off_axis_tolerance
- The number of touch units the swipe can occur off axis with the direction.
- unsigned min_distance
- The minimum distance traveled in the touch direction for the gesture to be considered a swipe.
- unsigned min_velocity
- The minimum velocity between any two points in the swipe.
Library:
libgestures
Description:
This structure represents the parameters for the swipe gesture.