Minimal shape gameplate consumes from a platform gamepad. Structurally compatible with the DOM Gamepad interface — you can pass () => navigator.getGamepads() for getGamepads without casts.
Gamepad
() => navigator.getGamepads()
getGamepads
Readonly
Minimal shape gameplate consumes from a platform gamepad. Structurally compatible with the DOM
Gamepadinterface — you can pass() => navigator.getGamepads()forgetGamepadswithout casts.