tap_params_t

Updated: October 28, 2024

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.

  翻译: