An easy to build gamepad tester using the JavaScript Gamepad API. This gamepad tester displays a controller and highlights the buttons being pressed. It can even show the position of the analog sticks in real time.
Controller Image SVG Code (copy into HTML)
https://gist.github.com/CodingWith-Ad...
GitHub
https://github.com/CodingWith-Adam/ga...
Try it here:
https://codingwith-adam.github.io/gam...