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

x/evt/lib/types/lib.dom.ts>GamepadButton

💧EventEmitter's typesafe replacement
Go to Latest
interface GamepadButton
import { type GamepadButton } from "https://deno.land/x/evt@v2.5.6/lib/types/lib.dom.ts";

An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device.

Properties

readonly
pressed: boolean
readonly
touched: boolean
readonly
value: number