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