gesture_coords_t

Updated: April 19, 2023

Gesture coordinates

Synopsis:

#include <gestures/>
typedef struct gesture_coords_t {
    int32_t x;
    int32_t y;
    uint64_t timestamp;
} gesture_coords_t;

Data:

int32_t x
The x coordinate of the touch.
int32_t y
The y coordinate of the touch.
uint64_t timestamp
The time when the touch occurred.

Library:

libgestures

Description:

This structure carries the x and y coordinates of a touch gesture, as well as the time that it occured.