double_tap_params_t

Updated: May 06, 2022

Double tap gesture parameters

Synopsis:

#include <gestures/>
typedef struct double_tap_params_t {
    unsigned max_displacement;
    unsigned max_hold_ms;
    unsigned max_delay_ms;
} double_tap_params_t;

Data:

unsigned max_displacement
The maximum distance the finger can move before the double tap gesture fails.
unsigned max_hold_ms
The maximum time the finger can remain touching the screen before the double tap gesture fails.
unsigned max_delay_ms
The time between the first release and the second touch.

Library:

libgestures

Description:

This stucture represents the parameters for the double tap gesture.