Skip to content
Photo of Greg RickabyGreg Rickaby: Alabama-based software engineer, self-taught photographer, and published author.

Tag: javascript

7 min read

How to use the Gamepad API in JavaScript

Learn the JavaScript Gamepad API: read an Xbox or PlayStation controller with getGamepads(), poll buttons and sticks, add rumble, and play a platformer demo.