Defined in node_modules/typescript/lib/lib.dom.d.ts:8669 Defined in node_modules/typescript/lib/lib.dom.d.ts:8689 Properties Readonly
axes axes : readonly number []
Defined in node_modules/typescript/lib/lib.dom.d.ts:8671 Readonly
buttons Defined in node_modules/typescript/lib/lib.dom.d.ts:8673 Readonly
connected connected : boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:8675 Readonly
haptic Actuators Defined in node_modules/typescript/lib/lib.dom.d.ts:8677 Readonly
id id : string
Defined in node_modules/typescript/lib/lib.dom.d.ts:8679 Readonly
index index : number
Defined in node_modules/typescript/lib/lib.dom.d.ts:8681 Readonly
mapping Defined in node_modules/typescript/lib/lib.dom.d.ts:8683 Readonly
timestamp timestamp : number
Defined in node_modules/typescript/lib/lib.dom.d.ts:8685 Readonly
vibration Actuator Defined in node_modules/typescript/lib/lib.dom.d.ts:8686
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