States for the double tap gesture.
Synopsis:
#include "gestures/double_tap.h"
typedef enum {
DT_STATE_INIT = 0
DT_STATE_FIRST_TOUCH
DT_STATE_FIRST_RELEASE
DT_STATE_SECOND_TOUCH
DT_STATE_SECOND_RELEASE
} double_tap_state_e;
Data:
- DT_STATE_INIT
- The initial state of the double tap gesture.
- DT_STATE_FIRST_TOUCH
- The state of the double tap gesture after the first touch was detected.
- DT_STATE_FIRST_RELEASE
- The state of the double tap gesture after the first release was detected.
- DT_STATE_SECOND_TOUCH
- The state of the double tap gesture after the second touch was detected.
- DT_STATE_SECOND_RELEASE
- The state of the double tap gesture after the second release was detected.
Library:
libgestures
Description:
This enumeration defines additional states the double tap gesture can transition between.