#include "double.h"
#include "gestureparams.h"
#include "utils.h"
Go to the source code of this file.
◆ get_double_tap()
returns an array of the ongoing double_touch data for each finger
- Returns
- array of size MAX_TOUCHES of double_touch data
Definition at line 186 of file double.c.
◆ init_double_tap()
initializes the data array by setting all field to 0/NULL
Definition at line 11 of file double.c.
◆ recognize_double_tap()
reads the last tap and stroke data and determines whethers this new stroke is part of a double_tap event
- Parameters
-
Definition at line 30 of file double.c.
◆ set_on_double_tap()
int set_on_double_tap |
( |
void(*)(const double_tap_t *) |
listener | ) |
|
Listen to double_tap events.
- Parameters
-
listener | accepts a const double_tap_t* |
- Returns
- 0 if first listener, 1 if replacing existing listener
Definition at line 52 of file double.c.
◆ double_tap_d
◆ on_double_tap