Don't emulate MKB in native MKB supported games

This commit is contained in:
redphx
2024-04-29 11:00:47 +07:00
parent cd6dd1e22d
commit 99aec0a60c
3 changed files with 7 additions and 3 deletions

View File

@@ -49,7 +49,8 @@ export const BxExposed = {
supportedInputTypes = supportedInputTypes.filter(i => i !== 'MKB');
}
// Add custom property
// Pre-check supported input types
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);