summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/demo/hello_there_face.c
diff options
context:
space:
mode:
Diffstat (limited to 'movement/watch_faces/demo/hello_there_face.c')
-rw-r--r--movement/watch_faces/demo/hello_there_face.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/movement/watch_faces/demo/hello_there_face.c b/movement/watch_faces/demo/hello_there_face.c
index f21cb762..97af2579 100644
--- a/movement/watch_faces/demo/hello_there_face.c
+++ b/movement/watch_faces/demo/hello_there_face.c
@@ -66,18 +66,6 @@ bool hello_there_face_loop(movement_event_t event, movement_settings_t *settings
state->current_word = (state->current_word + 1) % 2;
}
break;
- case EVENT_LIGHT_BUTTON_UP:
- // when the user presses 'light', we illuminate the LED. We could override this if
- // our UI needed an additional button for input, consuming the light button press
- // but not illuminating the LED.
- movement_illuminate_led();
- break;
- case EVENT_MODE_BUTTON_UP:
- // when the user presses 'mode', we tell movement to move to the next watch face.
- // movement will call our resign function, clear the screen, and transfer control
- // to the next watch face in the list.
- movement_move_to_next_face();
- break;
case EVENT_ALARM_BUTTON_UP:
// when the user presses 'alarm', we toggle the state of the animation. If animating,
// we stop; if stopped, we resume.
@@ -97,7 +85,9 @@ bool hello_there_face_loop(movement_event_t event, movement_settings_t *settings
// and it will do it long before the watch enters low energy mode. This ensures we
// won't be on screen, and thus opts us out of getting the EVENT_LOW_ENERGY_UPDATE above.
movement_move_to_face(0);
+ break;
default:
+ movement_default_loop_handler(event, settings);
break;
}