summaryrefslogtreecommitdiffstats
path: root/movement/movement.h
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2023-01-25 10:24:33 -0600
committerGitHub <noreply@github.com>2023-01-25 10:24:33 -0600
commit8e11285fd93b8c88248bcba829557d30fa5f6942 (patch)
treec1298f3ea924d8102b33bd796373209dad8be63b /movement/movement.h
parent3303060c59e1591bd2c6bb7cfc5b21e550728d6d (diff)
parent4412b5d08f90084a8e677bea4792851e6d82bdf3 (diff)
downloadSensor-Watch-8e11285fd93b8c88248bcba829557d30fa5f6942.tar.gz
Sensor-Watch-8e11285fd93b8c88248bcba829557d30fa5f6942.tar.bz2
Sensor-Watch-8e11285fd93b8c88248bcba829557d30fa5f6942.zip
Merge pull request #180 from joeycastillo/default-handler
Restore long press on MODE to return to first watch face by adding a handler for unhandled events
Diffstat (limited to 'movement/movement.h')
-rw-r--r--movement/movement.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/movement/movement.h b/movement/movement.h
index 7b5c4647..66bf6af4 100644
--- a/movement/movement.h
+++ b/movement/movement.h
@@ -285,6 +285,9 @@ typedef struct {
void movement_move_to_face(uint8_t watch_face_index);
void movement_move_to_next_face(void);
+
+bool movement_default_loop_handler(movement_event_t event, movement_settings_t *settings);
+
void movement_illuminate_led(void);
void movement_request_tick_frequency(uint8_t freq);