Correct typo in gamepadtokey

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
This commit is contained in:
Julien Machiels 2020-04-04 21:47:47 +02:00 committed by MrTimscampi
parent 0c2cdfe741
commit e338c1e936

View file

@ -403,7 +403,7 @@ require(['apphost'], function (appHost) {
if (window.navigator && typeof window.navigator.gamepadInputEmulation === "string") {
// We want the gamepad to provide gamepad VK keyboard events rather than moving a
// mouse like cursor. Set to "keyboard", the gamepad will provide such keyboard events
// and provide input to tonFocusOrGamepadDetachhe DOM navigator.getGamepads API.
// and provide input to the DOM navigator.getGamepads API.
window.navigator.gamepadInputEmulation = "gamepad";
}