merge from upstream
This commit is contained in:
@@ -235,7 +235,7 @@ define(['connectionManager', 'playbackManager', 'events', 'inputManager', 'focus
|
||||
}
|
||||
|
||||
function enableNativeGamepadKeyMapping() {
|
||||
if (!(!window.navigator || "string" != typeof window.navigator.gamepadInputEmulation)) {
|
||||
if (window.navigator && "string" == typeof window.navigator.gamepadInputEmulation) {
|
||||
window.navigator.gamepadInputEmulation = "keyboard";
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user