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

x/evt/mod.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.20/mod.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