/web-game-controller

Gamepad API and Gamepad Haptics API in action

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

This project attempts to make the Gamepad API and Gamepad Haptics API in JavaScript accesible and easier to use.

As of now, there is no organized documentation of the APIs mentioned above. This project attempts to gather all the available info from W3C drafts and put it into action.

So if you wanted to have some controller action in your web game, I hope I made your day a little bit better :)


A tool that really helped me out when putting this together is the Gamepad API Test by luser.