gamepad library Null safety

Gamepad

https://w3c.github.io/gamepad/

Classes

Gamepad
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the Gamepad API defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. A Gamepad object can be returned in one of two ways: via the gamepad property of the gamepadconnected and gamepaddisconnected events, or by grabbing any position in the array returned by the Navigator.getGamepads() method.
GamepadButton
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface defines an individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. A object is returned by querying any value of the array returned by the buttons property of the Gamepad interface.
GamepadEvent
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The GamepadEvent interface of the Gamepad API contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to.
GamepadEventInit

Extensions

PropsGamepad
PropsGamepadButton
PropsGamepadEvent
PropsGamepadEventInit

Enums

GamepadMappingType