merge from upstream
This commit is contained in:
parent
093a9b1ebd
commit
1cb487b9a3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue