long_press_params_t
QNX SDP8.0Gestures Library ReferenceAPIDeveloperProgramming
Parameters for the long press gesture
Synopsis:
#include <gestures/>
typedef struct long_press_params_t { unsigned max_displacement; unsigned min_press_time_ms; } long_press_params_t;
Data:
- unsigned max_displacement
- The maximum number of pixels from the initial coordinates of the touch before the press fails.
- unsigned min_press_time_ms
- The minumum time in millisecond for the gesture to be considered a long press and not a tap.
Library:
libgesturesDescription:
This structure represents the parameters for the long press gesture.
Page updated: