GamepadEvent
open external class GamepadEvent(val type: EventType<GamepadEvent>, init: GamepadEventInit) : Event(source)
This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to.