diff options
author | TheOnePerson <a.nebinger@web.de> | 2022-10-25 21:42:29 +0200 |
---|---|---|
committer | TheOnePerson <a.nebinger@web.de> | 2022-10-25 21:42:29 +0200 |
commit | 17cd90e72ff970a1cb8dda80584df16ee2e1d68f (patch) | |
tree | 0641255211009e2c57f0004d8d9524b8cacad066 | |
parent | 6a8269629d61a16255829a9db66d05effa54bec1 (diff) | |
download | Sensor-Watch-17cd90e72ff970a1cb8dda80584df16ee2e1d68f.tar.gz Sensor-Watch-17cd90e72ff970a1cb8dda80584df16ee2e1d68f.tar.bz2 Sensor-Watch-17cd90e72ff970a1cb8dda80584df16ee2e1d68f.zip |
movement: update comments regarding button events
-rw-r--r-- | movement/movement.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/movement/movement.h b/movement/movement.h index 6cf8cf0d..7b5c4647 100644 --- a/movement/movement.h +++ b/movement/movement.h @@ -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_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_UP, // The light button was pressed and released. - EVENT_LIGHT_LONG_PRESS, // The light button was held for >2 seconds, but not yet released. - EVENT_LIGHT_LONG_UP, // The light button was held for >2 seconds, 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 over half a second, but not yet 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_UP, // The mode button was pressed and released. - EVENT_MODE_LONG_PRESS, // The mode button was held for >2 seconds, 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_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 over half a second, but not yet released. + 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_UP, // The alarm button was pressed and released. - EVENT_ALARM_LONG_PRESS, // The alarm button was held for >2 seconds, but not yet released. - EVENT_ALARM_LONG_UP, // The alarm button was held for >2 seconds, 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 over half a second, but not yet released. + EVENT_ALARM_LONG_UP, // The alarm button was held for over half a second, and released. } movement_event_type_t; typedef struct { |