The two-finger double tap gesture data type
Synopsis:
#include <gestures/two_finger_double_tap.h>
typedef struct gesture_two_finger_double_tap_t {
gesture_base_t base;
two_finger_double_tap_params_t params;
gesture_coords_t first_touch[2];
gesture_coords_t first_release[2];
gesture_coords_t second_touch[2];
gesture_coords_t second_release[2];
gesture_coords_t centroid;
gesture_coords_t last_centroid;
two_finger_double_tap_state_e dt_state;
int fail_timer;
unsigned down_count;
} gesture_two_finger_double_tap_t;
Data:
- gesture_base_t base
- The gesture base data structure.
- two_finger_double_tap_params_t params
- The two-finger double tap parameters.
- gesture_coords_t first_touch[2]
- The coordinates of the first touch.
- gesture_coords_t first_release[2]
- The coordinates of the first release.
- gesture_coords_t second_touch[2]
- The coordinates of the second touch.
- gesture_coords_t second_release[2]
- The coordinates of the second release.
- gesture_coords_t centroid
- The coordintes of the midpoint between the two touches.
- gesture_coords_t last_centroid
- The coordintes of the midpoint between the previous two touches.
- two_finger_double_tap_state_e dt_state
- The intermediate state of the two-finger double tap.
- int fail_timer
- The ID of the timer for this gesture.
- unsigned down_count
- The number of fingers that are simultaneously in contact with the touch device.
Library:
libgestures
Description:
This structure carries data about the two-finger double tap gesture.