Skip to main content
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.4.3/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