enum state state_t
This represents the state of individual gesture recognizers.
Data structure for tap data.
To use the gesture library, users create touch events and fill in the appropriate fields.
int set_on_tap(void(*listener)(const tap_t *))
Subscribe listener to tap gesture updates.
void init_tap()
Initialize tap data structures.
struct tap tap_t
Data structure for tap data.
const tap_t * get_tap()
Access tap data array of size MAX_TOUCHES.
void recognize_tap(const touch_event_t *event)
Recognize tap gesture.