I built a browser-based Gamepad Tester using the HTML5 Gamepad API

Published: (January 31, 2026 at 01:02 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

Cover image for I built a browser-based Gamepad Tester using the HTML5 Gamepad API

Project Overview

I recently noticed that many gamers struggle with “Stick Drift” on their PS5 and Xbox controllers, but testing it usually requires downloading heavy software like DS4Windows.
I decided to build a lightweight, browser‑based solution using the HTML5 Gamepad API.

Project: TestMyGamepad
Live Demo:

Key Features

  • Drift Visualization – A canvas element draws the exact coordinates of the analog sticks. If the stick doesn’t return to 0.00, the tool flags a centering error.
  • Polling Rate Check – By measuring the time between gamepadconnected events and input updates, the app can estimate Bluetooth latency (Hz).

How to Use

You can test your controller here: Calibration Tool

Supported controllers:

  • DualSense (PS5)
  • Xbox Series X|S
  • Joy‑Cons (Nintendo)

I’m also working on a documentation hub for hardware repairs. Let me know if you have any feedback on the input visualization!

Back to Blog

Related posts

Read more »