Defined in node_modules/typescript/lib/lib.dom.d.ts:8718 Defined in node_modules/typescript/lib/lib.dom.d.ts:8736 PropertiesReadonly
axes axes : readonly number []
Defined in node_modules/typescript/lib/lib.dom.d.ts:8720 Readonly
buttons Defined in node_modules/typescript/lib/lib.dom.d.ts:8722 Readonly
connected connected : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:8724 Readonly
id id : string
Defined in node_modules/typescript/lib/lib.dom.d.ts:8726 Readonly
index index : number
Defined in node_modules/typescript/lib/lib.dom.d.ts:8728 Readonly
mapping Defined in node_modules/typescript/lib/lib.dom.d.ts:8730 Readonly
timestamp timestamp : number
Defined in node_modules/typescript/lib/lib.dom.d.ts:8732 Readonly
vibration Actuator Defined in node_modules/typescript/lib/lib.dom.d.ts:8733
This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.
Available only in secure contexts.
MDN Reference