mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Update dist
This commit is contained in:
parent
6421243d68
commit
64ae524dbe
3
dist/better-xcloud.user.js
vendored
3
dist/better-xcloud.user.js
vendored
@ -4800,6 +4800,7 @@ var BxExposed = {
|
|||||||
titleInfo.details.hasMkbSupport = supportedInputTypes.includes(InputType.MKB);
|
titleInfo.details.hasMkbSupport = supportedInputTypes.includes(InputType.MKB);
|
||||||
titleInfo.details.hasTouchSupport = supportedInputTypes.includes(InputType.NATIVE_TOUCH) && !supportedInputTypes.includes(InputType.CUSTOM_TOUCH_OVERLAY) && !supportedInputTypes.includes(InputType.GENERIC_TOUCH);
|
titleInfo.details.hasTouchSupport = supportedInputTypes.includes(InputType.NATIVE_TOUCH) && !supportedInputTypes.includes(InputType.CUSTOM_TOUCH_OVERLAY) && !supportedInputTypes.includes(InputType.GENERIC_TOUCH);
|
||||||
if (!titleInfo.details.hasTouchSupport && touchControllerAvailability === "all") {
|
if (!titleInfo.details.hasTouchSupport && touchControllerAvailability === "all") {
|
||||||
|
titleInfo.details.hasFakeTouchSupport = true;
|
||||||
supportedInputTypes.push(InputType.GENERIC_TOUCH);
|
supportedInputTypes.push(InputType.GENERIC_TOUCH);
|
||||||
}
|
}
|
||||||
titleInfo.details.supportedInputTypes = supportedInputTypes;
|
titleInfo.details.supportedInputTypes = supportedInputTypes;
|
||||||
@ -9688,7 +9689,7 @@ if (match) {
|
|||||||
}
|
}
|
||||||
const newCode = `
|
const newCode = `
|
||||||
const titleInfo = window.BX_EXPOSED.getTitleInfo();
|
const titleInfo = window.BX_EXPOSED.getTitleInfo();
|
||||||
if (!titleInfo.details.hasTouchSupport) {
|
if (!titleInfo.details.hasTouchSupport && !titleInfo.details.hasFakeTouchSupport) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user