enum state state_t
This represents the state of individual gesture recognizers.
To use the gesture library, users create touch events and fill in the appropriate fields.
Data structure for zoom gesture data.
struct zoom zoom_t
Data structure for zoom gesture data.
int set_on_zoom(void(*listener)(const zoom_t *))
Subscribe listener to zoom gesture updates.
void init_zoom()
Initialize zoom data structures.
void recognize_zoom(const touch_event_t *event)
Recognize zoom gesture. This gesture locks the number of fingers once any finger starts moving.
const zoom_t * get_zoom()
Access array of zoom_t of size MAX_TOUCHES.