gesture_double_tap_t

Updated: May 06, 2022

The double tap gesture data type

Synopsis:

#include <gestures/>
typedef struct gesture_double_tap_t {
    gesture_base_t base;
    double_tap_params_t params;
    gesture_coords_t first_touch;
    gesture_coords_t first_release;
    gesture_coords_t second_touch;
    gesture_coords_t second_release;
    double_tap_state_e dt_state;
    int fail_timer;
} gesture_double_tap_t;

Data:

gesture_base_t base
The gesture base data structure.
double_tap_params_t params
The double tap parameters.
gesture_coords_t first_touch
The coordinates of the first touch.
gesture_coords_t first_release
The coordinates of the first release.
gesture_coords_t second_touch
The coordinates of the second touch.
gesture_coords_t second_release
The coordinates of the second release.
double_tap_state_e dt_state
The intermediate state of the double tap.
int fail_timer
The ID of the timer for this gesture.

Library:

libgestures

Description:

This structure carries data about the double tap gesture.