docs.rodeo

MDN Web Docs mirror

Gamepad API

{{securecontext_header}} {{DefaultAPISidebar("Gamepad API")}} 

The Gamepad API is a way for developers to access and respond to signals from gamepads and other game controllers in a simple, consistent way. It contains three interfaces, two events and one specialist function, to respond to gamepads being connected and disconnected, and to access other information about the gamepads themselves, and what buttons and other controls are currently being pressed.

Interfaces

Experimental Gamepad extensions

Extensions to other interfaces

Window events

Tutorials and guides

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN