Skip to content

@ralphschuler.webgl shader factory.<internal>.GamepadButton

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: GamepadButton

@ralphschuler/webgl-shader-factory.<internal>.GamepadButton

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. Available only in secure contexts.

MDN Reference

Table of contents

Properties

Properties

pressed

Readonly pressed: boolean

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8704


touched

Readonly touched: boolean

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8706


value

Readonly value: number

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8708

Typescript Libraries

Modules

Namespaces

Clone this wiki locally