gesture_long_press_t

Updated: May 06, 2022

The long press data structure

Synopsis:

#include <gestures/>
typedef struct gesture_long_press_t {
    gesture_base_t base;
    long_press_params_t params;
    gesture_coords_t coords;
    int success_timer;
} gesture_long_press_t;

Data:

gesture_base_t base
The gesture base data structure.
long_press_params_t params
The long press parameters.
gesture_coords_t coords
The coordinates of the touch.
int success_timer
The ID of the timer for this gesture.

Library:

libgestures

Description:

This structure carries data about the long press gesture.