Defined in node_modules/typescript/lib/lib.dom.d.ts:5601
Defined in node_modules/typescript/lib/lib.dom.d.ts:5612
Properties
Readonly
axes
axes: readonly number []
Defined in node_modules/typescript/lib/lib.dom.d.ts:5602
Readonly
buttons
Defined in node_modules/typescript/lib/lib.dom.d.ts:5603
Readonly
connected
connected: boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:5604
Readonly
haptic Actuators
Defined in node_modules/typescript/lib/lib.dom.d.ts:5605
Readonly
id
id: string
Defined in node_modules/typescript/lib/lib.dom.d.ts:5606
Readonly
index
index: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:5607
Readonly
mapping
Defined in node_modules/typescript/lib/lib.dom.d.ts:5608
Readonly
timestamp
timestamp: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:5609
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.