|
PebbleOS
|
#include <stdbool.h>#include <stdint.h>Data Structures | |
| struct | TouchEvent |
| Touch event data, carried directly in PebbleTouchEvent. More... | |
Enumerations | |
| enum | TouchEventType { TouchEvent_Touchdown , TouchEvent_Liftoff , TouchEvent_PositionUpdate } |
| Touch event type. More... | |
| struct TouchEvent |
Touch event data, carried directly in PebbleTouchEvent.
| Data Fields | ||
|---|---|---|
| bool | non_navigational |
true when the touch must not drive navigation: the interaction session was inactive at Touchdown (unarmed contact on the idle watchface). Latched on Touchdown and carried across the whole gesture. |
| TouchEventType | type: 8 | Event type. |
| int16_t | x | Horizontal position, in screen pixels. |
| int16_t | y | Vertical position, in screen pixels. |
| enum TouchEventType |