more accelerometer work

This commit is contained in:
joeycastillo
2024-10-19 12:35:46 -04:00
parent 57de3e77f5
commit 19376625d1
6 changed files with 76 additions and 27 deletions

View File

@@ -143,6 +143,13 @@ typedef enum {
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.
EVENT_ACCELEROMETER_WAKE, // The accelerometer has detected motion and woken up.
EVENT_ACCELEROMETER_SLEEP, // The accelerometer has returned to sleep.
EVENT_ORIENTATION_CHANGE, // The orientation of the watch has changed. Available in low energy mode.
EVENT_SINGLE_TAP, // Accelerometer detected a single tap. This event is not yet implemented.
EVENT_DOUBLE_TAP, // Accelerometer detected a double tap. This event is not yet implemented.
EVENT_FREE_FALL, // Accelerometer detected the watch in free fall. This event is not yet implemented.
} movement_event_type_t;
typedef struct {