event_t
The various touchscreen event types.
Definition event.hpp:17
A struct for storing the pixel coordinates of various UI elements.
Definition coords.hpp:17
A touchscreen event.
Definition event.hpp:26
Position coords[5]
A list of relative positions on the parent widget that are being touched.
Definition event.hpp:43
bool triggered
True if this event should be handled, false otherwise.
Definition event.hpp:28
event_t type
The touchscreen event type.
Definition event.hpp:31
Coords points[5]
A list of coordinates corresponding to each touch point, accounting for screen rotation.
Definition event.hpp:37
time_t timeHeld
The number of milliseconds that the screen has been pressed continuously.
Definition event.hpp:40
uint8_t contacts
The number of distinct points on the screen that were touched.
Definition event.hpp:34
A struct that holds the normalized position of a widget.
Definition position.hpp:15