movement: update comments regarding button events
This commit is contained in:
parent
6a8269629d
commit
17cd90e72f
@ -109,17 +109,17 @@ typedef enum {
|
|||||||
EVENT_BACKGROUND_TASK, // Your watch face is being invoked to perform a background task. Don't update the display here; you may not be in the foreground.
|
EVENT_BACKGROUND_TASK, // Your watch face is being invoked to perform a background task. Don't update the display here; you may not be in the foreground.
|
||||||
EVENT_TIMEOUT, // Your watch face has been inactive for a while. You may want to resign, depending on your watch face's intended use case.
|
EVENT_TIMEOUT, // Your watch face has been inactive for a while. You may want to resign, depending on your watch face's intended use case.
|
||||||
EVENT_LIGHT_BUTTON_DOWN, // The light button has been pressed, but not yet released.
|
EVENT_LIGHT_BUTTON_DOWN, // The light button has been pressed, but not yet released.
|
||||||
EVENT_LIGHT_BUTTON_UP, // The light button was pressed and released.
|
EVENT_LIGHT_BUTTON_UP, // The light button was pressed for less than half a second, and released.
|
||||||
EVENT_LIGHT_LONG_PRESS, // The light button was held for >2 seconds, but not yet released.
|
EVENT_LIGHT_LONG_PRESS, // The light button was held for over half a second, but not yet released.
|
||||||
EVENT_LIGHT_LONG_UP, // The light button was held for >2 seconds, and released.
|
EVENT_LIGHT_LONG_UP, // The light button was held for over half a second, and released.
|
||||||
EVENT_MODE_BUTTON_DOWN, // The mode button has been pressed, but not yet released.
|
EVENT_MODE_BUTTON_DOWN, // The mode button has been pressed, but not yet released.
|
||||||
EVENT_MODE_BUTTON_UP, // The mode button was pressed and released.
|
EVENT_MODE_BUTTON_UP, // The mode button was pressed for less than half a second, and released.
|
||||||
EVENT_MODE_LONG_PRESS, // The mode button was held for >2 seconds, but not yet released.
|
EVENT_MODE_LONG_PRESS, // The mode button was held for over half a second, but not yet released.
|
||||||
EVENT_MODE_LONG_UP, // The mode button was held for >2 seconds, and released. NOTE: your watch face will resign immediately after receiving this event.
|
EVENT_MODE_LONG_UP, // The mode button was held for over half a second, and released. NOTE: your watch face will resign immediately after receiving this event.
|
||||||
EVENT_ALARM_BUTTON_DOWN, // The alarm button has been pressed, but not yet released.
|
EVENT_ALARM_BUTTON_DOWN, // The alarm button has been pressed, but not yet released.
|
||||||
EVENT_ALARM_BUTTON_UP, // The alarm button was pressed and released.
|
EVENT_ALARM_BUTTON_UP, // The alarm button was pressed for less than half a second, and released.
|
||||||
EVENT_ALARM_LONG_PRESS, // The alarm button was held for >2 seconds, but not yet released.
|
EVENT_ALARM_LONG_PRESS, // The alarm button was held for over half a second, but not yet released.
|
||||||
EVENT_ALARM_LONG_UP, // The alarm button was held for >2 seconds, and released.
|
EVENT_ALARM_LONG_UP, // The alarm button was held for over half a second, and released.
|
||||||
} movement_event_type_t;
|
} movement_event_type_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user