]> git.earman.xyz Git - sensor-watch.git/commitdiff
tarot: mode long press returns to face 0
authorJeremy O'Brien <neutral@fastmail.com>
Fri, 13 Jan 2023 15:26:11 +0000 (10:26 -0500)
committerJeremy O'Brien <neutral@fastmail.com>
Fri, 13 Jan 2023 15:56:43 +0000 (10:56 -0500)
movement/watch_faces/complication/tarot_face.c
movement/watch_faces/complication/tarot_face.h

index 2ebc250114d7939dca0cdc9ebcf5c71735b56a34..fe29f8a7e251739e5ca5e661fbee7689162805dc 100644 (file)
@@ -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;
     }
index 00d08ff14eea6c450ba561cfaffe5a8781302e5d..9dfe8b3dac5f1e0a2c84e7cbd6b88ad51ba988d0 100644 (file)
@@ -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