summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy O'Brien <neutral@fastmail.com>2023-01-13 10:26:11 -0500
committerJeremy O'Brien <neutral@fastmail.com>2023-01-13 10:56:43 -0500
commit3025a739565e86bc444a3ef55d1f42323aeb21dc (patch)
tree929531495973314bb8e7220f76d0f6d26d48a6c6
parent5e1f77213843d48a611f401dcffd098fb14d787d (diff)
downloadSensor-Watch-3025a739565e86bc444a3ef55d1f42323aeb21dc.tar.gz
Sensor-Watch-3025a739565e86bc444a3ef55d1f42323aeb21dc.tar.bz2
Sensor-Watch-3025a739565e86bc444a3ef55d1f42323aeb21dc.zip
tarot: mode long press returns to face 0
-rw-r--r--movement/watch_faces/complication/tarot_face.c4
-rw-r--r--movement/watch_faces/complication/tarot_face.h3
2 files changed, 7 insertions, 0 deletions
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