pt_params_t

Updated: April 19, 2023

Press and touch gesture parameters

Synopsis:

#include <gestures/>
typedef struct pt_params_t {
    unsigned max_tap_time;
    unsigned min_press_tap_interval;
    unsigned max_press_tap_interval;
    unsigned max_displacement;
} pt_params_t;

Data:

unsigned max_tap_time
The maximum time the second finger can be held down.
unsigned min_press_tap_interval
The minimum time between the pressing finger touching down and the tapping finger touching down.
unsigned max_press_tap_interval
The maximum time between the pressing finger touching down and the tapping finger touching down.
unsigned max_displacement
Maximum distance either finger can move before the gesture fails.

Library:

libgestures

Description:

This structure represents the parameters for the press and tap gesture.