diff --git a/src/types/index.d.ts b/src/types/index.d.ts index 65a791b..9228cc2 100644 --- a/src/types/index.d.ts +++ b/src/types/index.d.ts @@ -59,6 +59,7 @@ type XcloudTitleInfo = { details: { productId: string; supportedInputTypes: InputType[]; + supportedTabs: any[]; hasTouchSupport: boolean; hasFakeTouchSupport: boolean; hasMkbSupport: boolean; diff --git a/src/utils/bx-exposed.ts b/src/utils/bx-exposed.ts index 41a498e..c85683e 100644 --- a/src/utils/bx-exposed.ts +++ b/src/utils/bx-exposed.ts @@ -49,11 +49,11 @@ export const BxExposed = { gamepadFound && (touchControllerAvailability = 'off'); } - - if (touchControllerAvailability === 'off') { // Disable touch on all games (not native touch) supportedInputTypes = supportedInputTypes.filter(i => i !== InputType.CUSTOM_TOUCH_OVERLAY && i !== InputType.GENERIC_TOUCH); + // Empty TABs + titleInfo.details.supportedTabs = []; } // Pre-check supported input types