The two-finger tap gesture data type
Synopsis:
#include <gestures/>
typedef struct gesture_tft_t {
gesture_base_t base;
tft_params_t params;
gesture_coords_t touch_coords[2];
gesture_coords_t release_coords[2];
gesture_coords_t centroid;
unsigned down_count;
} gesture_tft_t;
Data:
- gesture_base_t base
- The gesture base data structure.
- tft_params_t params
- The two-finger tap parameters.
- gesture_coords_t touch_coords[2]
- The coordinates of the first touch event.
- gesture_coords_t release_coords[2]
- The coordinates of the second release event.
- gesture_coords_t centroid
- The midpoint between the two touches.
- 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 tap gesture.