tap_params_t

Updated: May 06, 2022

Tap gesture parameters

Synopsis:

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

Data:

unsigned max_displacement
Maximum distance the finger can move before the tap gesture fails.
unsigned max_hold_ms
Maximum time the finger can remain touching the screen before the tap gesture fails.

Library:

libgestures

Description:

This structure represents the parameters for the tap gesture.