Defined in node_modules/typescript/lib/lib.dom.d.ts:8628 Defined in node_modules/typescript/lib/lib.dom.d.ts:8648 Properties Readonly
axes axes : readonly number []
Defined in node_modules/typescript/lib/lib.dom.d.ts:8630 Readonly
buttons Defined in node_modules/typescript/lib/lib.dom.d.ts:8632 Readonly
connected connected : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:8634 Readonly
haptic Actuators Defined in node_modules/typescript/lib/lib.dom.d.ts:8636 Readonly
id id : string
Defined in node_modules/typescript/lib/lib.dom.d.ts:8638 Readonly
index index : number
Defined in node_modules/typescript/lib/lib.dom.d.ts:8640 Readonly
mapping Defined in node_modules/typescript/lib/lib.dom.d.ts:8642 Readonly
timestamp timestamp : number
Defined in node_modules/typescript/lib/lib.dom.d.ts:8644 Readonly
vibration Actuator Defined in node_modules/typescript/lib/lib.dom.d.ts:8645
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