Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.GamepadEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.GamepadEvent
implements Event
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { GamepadEvent } = dom;

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.

Properties

readonly
gamepad: Gamepad