summaryrefslogtreecommitdiffstats
path: root/movement/movement_config.h
diff options
context:
space:
mode:
authorJames Haggerty <james@gruemail.com>2022-10-19 10:24:02 +1100
committerJames Haggerty <james@gruemail.com>2022-10-19 10:30:59 +1100
commitb51f7b6f36a351480dd2ec783826436ecd6912fd (patch)
tree4de7a89ac15bbeb13e7511e2ffdd91cde2f65dc1 /movement/movement_config.h
parent5bd0aafc24afffe33d4a014bc9af9865f708a65b (diff)
downloadSensor-Watch-b51f7b6f36a351480dd2ec783826436ecd6912fd.tar.gz
Sensor-Watch-b51f7b6f36a351480dd2ec783826436ecd6912fd.tar.bz2
Sensor-Watch-b51f7b6f36a351480dd2ec783826436ecd6912fd.zip
Long press of mode on home screen goes to settings
This also changes the default rotation so you don't see the settings screens.
Diffstat (limited to 'movement/movement_config.h')
-rw-r--r--movement/movement_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/movement/movement_config.h b/movement/movement_config.h
index 94456776..ef6fb6e8 100644
--- a/movement/movement_config.h
+++ b/movement/movement_config.h
@@ -39,4 +39,11 @@ const watch_face_t watch_faces[] = {
#define MOVEMENT_NUM_FACES (sizeof(watch_faces) / sizeof(watch_face_t))
+/* Determines what face to go to from the first face if you've already set
+ * a mode long press to go to the first face in preferences, and
+ * excludes these faces from the normal rotation.
+ * Usually it makes sense to set this to the preferences face.
+ */
+#define MOVEMENT_SECONDARY_FACE_INDEX (MOVEMENT_NUM_FACES - 2)
+
#endif // MOVEMENT_CONFIG_H_