From 3025a739565e86bc444a3ef55d1f42323aeb21dc Mon Sep 17 00:00:00 2001 From: Jeremy O'Brien Date: Fri, 13 Jan 2023 10:26:11 -0500 Subject: tarot: mode long press returns to face 0 --- movement/watch_faces/complication/tarot_face.c | 4 ++++ movement/watch_faces/complication/tarot_face.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/movement/watch_faces/complication/tarot_face.c b/movement/watch_faces/complication/tarot_face.c index 2ebc2501..fe29f8a7 100644 --- a/movement/watch_faces/complication/tarot_face.c +++ b/movement/watch_faces/complication/tarot_face.c @@ -287,6 +287,10 @@ bool tarot_face_loop(movement_event_t event, movement_settings_t *settings, void case EVENT_LOW_ENERGY_UPDATE: watch_display_string("SLEEP ", 4); break; + case EVENT_MODE_LONG_PRESS: + // since we ignore timeouts, provide a convenient way to jump back to the start + movement_move_to_face(0); + break; default: break; } diff --git a/movement/watch_faces/complication/tarot_face.h b/movement/watch_faces/complication/tarot_face.h index 00d08ff1..9dfe8b3d 100644 --- a/movement/watch_faces/complication/tarot_face.h +++ b/movement/watch_faces/complication/tarot_face.h @@ -48,6 +48,9 @@ * after drawing, "St" is shown for the 1st card in the spread and "En" is * shown for the last card. * + * At any point, the mode button can be held to return to your first configured + * watch face. + * * When "Major" or "All" is shown: * - Light button: cycle # of cards to draw * - Light button (long press): toggle between major arcana and all cards -- cgit v1.2.3