GamepadEvent
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. Available only in secure contexts.
var GamepadEvent: {
prototype: GamepadEvent;
new (type: string, eventInitDict: GamepadEventInit): GamepadEvent;
};