I Built a Tool to Test My “Broken” Mouse — Here’s What I Found

It started with a tiny glitch — a click that didn’t register. Just once or twice.
But it got me thinking: what if I could measure it, repeat it, and actually understand what was going on?

That question led to a weekend project. I didn’t expect it to be useful to anyone else — but it turns out, a surprising number of people also wonder: “Is it me, or is my mouse just busted?”


The Problem: Missed Clicks Are Hard to Prove

If you’ve ever played games, done pixel-precise design, or worked in QA, you know how annoying it is when your mouse doesn’t behave predictably.
In my case, it was a cheap wireless mouse that occasionally “dropped” clicks — just enough to be suspicious, but not enough to prove it.

I needed a simple way to test whether the mouse was skipping inputs or introducing lag. So I built one.


How I Built a Click Tester

The project started as a minimal tool to measure click accuracy and latency.
It tracks how quickly you can double-click, whether your clicks are delayed, and whether some are missing entirely.

At first, it was just one page with a couple of timers. But as I kept refining it, I realized this could help more than just me — especially for gamers, developers, accessibility testers, or anyone wondering if their hardware was behaving oddly.


What It Measures

The site now includes a few lightweight browser-based tools:

No installs, no logins, no popups — just focused tools in the browser.


What I Learned

Building this taught me a few unexpected things:

Also: the line between a fun toy and a serious tool is thinner than I thought.


Technical Notes

The tester is written in vanilla JavaScript — no libraries, no frameworks.
Click intervals are tracked using performance.now() for sub-millisecond accuracy.
Events are filtered to avoid noise (e.g. touch events on mobile, or bounce from rapid hardware triggers).

For example, in the Double Click Test, the code compares two mousedown timestamps. If they're within a 500ms window, it calculates the delta and stores it. The same goes for CPS, which is more about counting rapid input bursts over a timed window.

Making it consistent across Chrome, Firefox, and Safari required a bit of fussing with event propagation quirks.


Unexpected Use Cases

Once the tool was online, I started hearing from people using it in ways I didn’t expect:

It started as a personal tool, but it’s been fascinating to watch it pick up niche users.


Challenges

A few surprisingly tricky things:

I also had to prevent cheating in CPS-style tests (e.g. holding down mouse keys, autoclickers). I didn’t want a leaderboard, but still wanted results to be meaningful.


Try It Yourself

You can try the tester here:
👉 doubleclicktest.com


Feedback?

If you've ever debugged a flaky mouse, trained for a clicking game, or just wanted to know how reactive your input really is — let me know what you think.
I'm always curious how people use odd little tools like this.