Properties Readonly axesaxes: readonly number []
Defined in node_modules/typescript/lib/lib.dom.d.ts:5602 Readonly buttonsDefined in node_modules/typescript/lib/lib.dom.d.ts:5603 Readonly connectedconnected: boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:5604 Readonly haptic ActuatorsDefined in node_modules/typescript/lib/lib.dom.d.ts:5605 Readonly idid: string
Defined in node_modules/typescript/lib/lib.dom.d.ts:5606 Readonly indexindex: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:5607 Readonly mappingDefined in node_modules/typescript/lib/lib.dom.d.ts:5608 Readonly timestamptimestamp: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:5609 Legend Namespace Variable Function Function with type parameter Type alias Type alias with type parameter Interface Interface with type parameter Settings Theme OS Light Dark
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.