Minor change
This commit is contained in:
@@ -144,10 +144,12 @@ class NativeApplication {
|
||||
|
||||
case CONNECT:
|
||||
|
||||
if (!Gamepad.devices.exists(gamepadEventInfo.id)) {
|
||||
if (!Gamepad.devices.exists (gamepadEventInfo.id)) {
|
||||
|
||||
var gamepad = new Gamepad (gamepadEventInfo.id);
|
||||
Gamepad.devices.set (gamepadEventInfo.id, gamepad);
|
||||
parent.window.onGamepadConnect.dispatch (gamepad);
|
||||
|
||||
}
|
||||
|
||||
case DISCONNECT:
|
||||
|
||||
Reference in New Issue
Block a user