two_finger_double_tap_state_e

Updated: October 26, 2022

States for the two-finger double tap gesture

Synopsis:

#include <gestures/two_finger_double_tap.h>
typedef enum {
    TFDT_STATE_INIT = 0,
    TFDT_STATE_FIRST_TOUCH,
    TFDT_STATE_FIRST_RELEASE,
    TFDT_STATE_SECOND_TOUCH,
    TFDT_STATE_SECOND_RELEASE
} two_finger_double_tap_state_e;

Data:

TFDT_STATE_INIT
The initial state of the two-finger double tap gesture.
TFDT_STATE_FIRST_TOUCH
The state of the two-finger double tap gesture after the first touch was detected.
TFDT_STATE_FIRST_RELEASE
The state of the two-finger double tap gesture after the first release was detected.
TFDT_STATE_SECOND_TOUCH
The state of the two-finger double tap gesture after the second touch was detected.
TFDT_STATE_SECOND_RELEASE
The state of the two-finger double tap gesture after the second release was detected.

Library:

libgestures

Description:

This enumeration defines additional states the two-finger double tap gesture can transition between.