Minimal gamepad shape required by the injectable poll function. A structural subset of the browser Gamepad interface — navigator.getGamepads() satisfies it directly, and test doubles can supply just these fields.
Gamepad
navigator.getGamepads()
Minimal gamepad shape required by the injectable poll function. A structural subset of the browser
Gamepadinterface —navigator.getGamepads()satisfies it directly, and test doubles can supply just these fields.