Updated: October 28, 2024 |
Allocate and initialize the two-finger tap gesture structure
#include <gestures/two_finger_tap.h>
gesture_tft_t* tft_gesture_alloc(tft_params_t *params, gesture_callback_f callback, struct gestures_set *set)
This function allocates a new two-finger tap gesture data structure, initializes it with the specified parameters and callback function, and adds it to the specified gesture set.
An initialized two-finger tap gesture.