Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

interface GamepadEvent extends Event {
readonly gamepad: Gamepad;
}
var GamepadEvent: {
prototype: GamepadEvent;
new (type: string, eventInitDict: GamepadEventInit): GamepadEvent;
}
;

§Extends

§Properties

§
readonly gamepad: Gamepad
[src]