Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/yxz/typing/lib.dom.ts>GamepadEvent

Deno Standard Extensions
Latest
interface GamepadEvent
implements Event
import { type GamepadEvent } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";

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.

Properties

readonly
gamepad: Gamepad