From 2fb4779b91ca8c4aecfc6a7017e3e6ceac1fdf42 Mon Sep 17 00:00:00 2001 From: Anthony Samms Date: Fri, 24 Oct 2025 10:59:15 -0400 Subject: [PATCH] minor input fix --- libs/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/utils.py b/libs/utils.py index 03a0509..f80cad7 100644 --- a/libs/utils.py +++ b/libs/utils.py @@ -111,6 +111,8 @@ def is_l_don_pressed(player_num: str = '0') -> bool: if ray.is_gamepad_button_pressed(0, button): return True + if not global_data.config["general"]["touch_enabled"]: + return False mid_x, mid_y = (1280//2, 720) allowed_gestures = {ray.Gesture.GESTURE_TAP, ray.Gesture.GESTURE_DOUBLETAP} if ray.get_gesture_detected() in allowed_gestures and ray.is_gesture_detected(ray.get_gesture_detected()):