]> git.earman.xyz Git - sensor-watch.git/commitdiff
Enable tap functionality
authorDavid Volovskiy <devolov@gmail.com>
Wed, 20 Aug 2025 00:16:43 +0000 (20:16 -0400)
committerDavid Volovskiy <devolov@gmail.com>
Wed, 20 Aug 2025 00:16:43 +0000 (20:16 -0400)
watch-faces/complication/endless_runner_face.c

index 6084ef613c43ead06f887fed14eeef66a4486ad9..c749cc9d673658c082bff71014d466f1f0a0b19d 100644 (file)
@@ -525,6 +525,7 @@ void endless_runner_face_activate(void *context) {
     ball_arr_seg = is_custom_lcd ? custom_ball_arr_seg : classic_ball_arr_seg;
     obstacle_arr_com = is_custom_lcd ? custom_obstacle_arr_com : classic_obstacle_arr_com;
     obstacle_arr_seg = is_custom_lcd ? custom_obstacle_arr_seg : classic_obstacle_arr_seg;
+    movement_enable_tap_detection_if_available();
 }
 
 bool endless_runner_face_loop(movement_event_t event, void *context) {
@@ -588,5 +589,6 @@ bool endless_runner_face_loop(movement_event_t event, void *context) {
 
 void endless_runner_face_resign(void *context) {
     (void) context;
+    movement_disable_tap_detection_if_available();
 }