swipe_params_t
QNX SDP8.0Gestures Library ReferenceAPIDeveloperProgramming
Swipe gesture parameters
Synopsis:
#include <gestures/>
typedef struct swipe_params_t { 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:
libgesturesDescription:
This structure represents the parameters for the swipe gesture.
Page updated: