Definitions in defaults.h

Updated: April 19, 2023

Preprocessor macro definitions for the defaults.h header file in the library.

Definitions:

#define GESTURE_MIN_HOLD_DELAY_MS 400
The amount of time the finger must remain touching the screen to qualify as a hold.
#define GESTURE_MAX_MOVE_TOLERANCE_PIX 16
The maximum number of pixels in any direction a touch gesture can move before failing.
#define GESTURE_TWO_FINGER_INTERVAL_MS 100
The maximum time interval between two fingers touching the screen for the gesture to be considered a two-finger touch, as opposed to two single-finger touches.
#define GESTURE_MAX_TAP_DELAY_MS 300
The maximum delay between taps for a double-tap or triple-tap gesture.

A longer delay results in multiple single taps.

Library:

libgestures