gesture_e

Updated: May 06, 2022

Gesture type enumeration

Synopsis:

#include <gestures/types.h>
typedef enum {
    GESTURE_NONE = 0,
    GESTURE_TWO_FINGER_PAN,
    GESTURE_ROTATE,
    GESTURE_SWIPE,
    GESTURE_PINCH,
    GESTURE_TAP,
    GESTURE_DOUBLE_TAP,
    GESTURE_TRIPLE_TAP,
    GESTURE_PRESS_AND_TAP,
    GESTURE_TWO_FINGER_TAP,
    GESTURE_TWO_FINGER_DOUBLE_TAP,
    GESTURE_LONG_PRESS,
    GESTURE_USER
} gesture_e;

Data:

GESTURE_NONE
No gesture.
GESTURE_TWO_FINGER_PAN
The two finger pan gesture.
GESTURE_ROTATE
The rotate gesture.
GESTURE_SWIPE
The swipe gesture.
GESTURE_PINCH
The pinch gesture.
GESTURE_TAP
The tap gesture.
GESTURE_DOUBLE_TAP
The double tap gesture.
GESTURE_TRIPLE_TAP
The triple tap gesture.
GESTURE_PRESS_AND_TAP
The press and tap gesture.
GESTURE_TWO_FINGER_TAP
The two finger tap gesture.
GESTURE_TWO_FINGER_DOUBLE_TAP
The two finger double tap gesture.
GESTURE_LONG_PRESS
The long press gesture.
GESTURE_USER
The custom gesture.

Library:

libgestures

Description:

This enumeration the set of possible gestures.