Available on HTML5
Gamepad interface of the Gamepad API defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.
An array representing the controls with axes present on the device (e.g. analog thumb sticks).
An array of
gamepadButton objects representing the buttons present on the device.
An integer that is auto-incremented to be unique for each device currently connected to the system.
A string indicating whether the browser has remapped the controls on the device to a known layout.