movement:Allow disabling double tap detection in movement_enable_tap_detection_if_available

We will want to disable it in the countdown face.
This commit is contained in:
Paul Riou
2026-04-26 13:12:42 +01:00
parent a8ea642d35
commit 32ce50e70e
7 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ void probability_face_activate(void *context)
movement_request_tick_frequency(1);
// Enable tap detection for a few seconds when face is activated
if (movement_enable_tap_detection_if_available()) {
if (movement_enable_tap_detection_if_available(true)) {
state->tap_detection_ticks = TAP_DETECTION_SECONDS;
}
}