diff --git a/dist/better-xcloud.user.js b/dist/better-xcloud.user.js index 65e36d7..83bdbac 100644 --- a/dist/better-xcloud.user.js +++ b/dist/better-xcloud.user.js @@ -3289,7 +3289,7 @@ class TouchController { if (!layoutId) layoutId = TouchController.#customLayouts[xboxTitleId]?.default_layout || null; if (!layoutId) { - BxLogger.error(LOG_TAG2, "Invalid layoutId"); + BxLogger.error(LOG_TAG2, "Invalid layoutId, show default controller"), TouchController.#enabled && TouchController.#showDefault(); return; } const layoutChanged = TouchController.#currentLayoutId !== layoutId; diff --git a/src/modules/touch-controller.ts b/src/modules/touch-controller.ts index 3192b38..d60aa65 100644 --- a/src/modules/touch-controller.ts +++ b/src/modules/touch-controller.ts @@ -202,7 +202,8 @@ export class TouchController { } if (!layoutId) { - BxLogger.error(LOG_TAG, 'Invalid layoutId'); + BxLogger.error(LOG_TAG, 'Invalid layoutId, show default controller'); + TouchController.#enabled && TouchController.#showDefault(); return; }