gamecontroller.js

A JavaScript library that lets you handle, configure, and use gamepad and controllers on a browser, using the Gamepad API