Axes values for the gamepad.
Gamepad buttons with their associated state.
Should be different for every gamepad.
Indicates if the gamepad is connected to the system.
Deadzone for the gamepad analog sticks.
Values (in absolute) below this threshold are considered 0.
Gamepad API object used to acess the gamepad input.
Identifier of the gamepad device.
Index of the gamepad instance.
Mapping of the gamepad.
Vibration actuator used to provide haptic feedback.
Get analog button value between 0 and 1.
If the button is not analog enabled it will return 0 if button is not pressed or 1 if the button is pressed.
Button to get analogue value from.
Value between 0 and 1 depending how hard the button is pressed.
Start a haptic effect on the gamepad.
Type of the effect to start.
Parameters for the effect.
Gamepad provides basic support for gamepads.
Some gamepads require a button press to being detected.
Gamepad implementation across browsers is still fragmented, every browser implements it a bit differently, so test it on every target before deploying an application using it.
For more information about the Gamepad API state take look at the W3C Gamepad API page https://www.w3.org/TR/gamepad/.