From 5a6c99e92047f38c7ca6b35ea57d0235296bd14b Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Mon, 29 Apr 2024 15:17:41 +0700 Subject: [PATCH] Fix not disabling touch when controller found --- src/modules/patcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/patcher.ts b/src/modules/patcher.ts index 23ff5d2..7e63df5 100644 --- a/src/modules/patcher.ts +++ b/src/modules/patcher.ts @@ -478,7 +478,7 @@ const PLAYING_PATCH_ORDERS = [ ['playVibration'], STATES.hasTouchSupport && getPref(PrefKey.STREAM_TOUCH_CONTROLLER) === 'all' && ['exposeTouchLayoutManager'], - STATES.hasTouchSupport && getPref(PrefKey.STREAM_TOUCH_CONTROLLER) === 'off' && ['disableTakRenderer'], + STATES.hasTouchSupport && (getPref(PrefKey.STREAM_TOUCH_CONTROLLER) === 'off' || getPref(PrefKey.STREAM_TOUCH_CONTROLLER_AUTO_OFF)) && ['disableTakRenderer'], BX_FLAGS.EnableXcloudLogging && ['enableConsoleLogging'],