Properties Readonly axesaxes: readonly number []
Defined in node_modules/typescript/lib/lib.dom.d.ts:5431 Readonly buttonsDefined in node_modules/typescript/lib/lib.dom.d.ts:5432 Readonly connectedconnected: boolean
Defined in node_modules/typescript/lib/lib.dom.d.ts:5433 Readonly haptic ActuatorsDefined in node_modules/typescript/lib/lib.dom.d.ts:5434 Readonly idid: string
Defined in node_modules/typescript/lib/lib.dom.d.ts:5435 Readonly indexindex: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:5436 Readonly mappingDefined in node_modules/typescript/lib/lib.dom.d.ts:5437 Readonly timestamptimestamp: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:5438 Legend Namespace Variable Function Function with type parameter Type alias Type alias with type parameter Class Class 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.