Go to the source code of this file.
◆ tap_t
Data structure for tap data.
◆ get_tap()
Access tap data array of size MAX_TOUCHES.
- Returns
- Address of first element of tap data array of size MAX_TOUCHES
Definition at line 34 of file tap.c.
◆ init_tap()
Initialize tap data structures.
Definition at line 12 of file tap.c.
◆ recognize_tap()
Recognize tap gesture.
- Parameters
-
event | touch event to recognize |
Definition at line 27 of file tap.c.
◆ set_on_tap()
int set_on_tap |
( |
void(*)(const tap_t *) |
listener | ) |
|
Subscribe listener to tap gesture updates.
- Parameters
-
Listener | accepts a const tap_t* |
- Returns
- 0 if first listener, 1 if replacing existing listener
Definition at line 38 of file tap.c.