Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Deno Standard Extensions
Go to Latest
interface GamepadEvent
implements Event
import { type GamepadEvent } from "https://deno.land/x/yxz@0.17.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