Thanks for writing this example. I reformed it into a re-usable Backbone.js plugin - for anyone interested: https://github.com/backbone-input/gamepad Hope it helps!