Using The Gamepad API In Web Games

November 22, 2015 in Code Snippets, Tips & Tricks, Tutorial by admin

html5Source: here
The Gamepad API is a relatively new piece of technology that allows us to access the state of connected gamepads using JavaScript, which is great news for HTML5 game developers.

A lot of game genres, such as racing and platform fighting games, rely on a gamepad rather than a keyboard and mouse for the best experience. This means these games can now be played on the web with the same gamepads that are used for consoles.

This link provides a nice article about how to use the Gamepad API in games.