Skip to main content
Module

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

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

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