Double-Click Test

Test any mouse button for double-click chatter in your browser. Click as you normally do while we time each gap and flag a switch that double-fires.

Checking a switch for chatter needs a physical mouse. A tap on a touchscreen isn't a mouse click.

Click with any button. The first one you press is the one we track.
Chatter
-
Last gap
-
Min gap
-
Ready
Any gap under 50 ms counts as chatter.
Why a mouse double-clicks, and how to fix it

Gap before each click

Runs in this browser

  • Next run
    Chatter
    -
↗ Suggest an improvement

Click in the area above to see whether your mouse fires two clicks from one press. That double-fire is the classic sign of a worn switch, and it can hit any button, so test the ones you actually use.

How to use

  1. Click normally. Click the test area with any button the way you usually do. Each run tracks the first button you press, for 50 clicks.
  2. Watch the gap. Last gap shows the milliseconds since the same button's last press or release. Real single clicks sit hundreds of ms apart.
  3. Read the verdict. A gap under 50 ms is chatter. Chatter during normal clicking points to a worn switch. Click faster than 8 times a second and the test will not judge the run.
  4. Switch buttons. To test another button, click with it a second after a run ends, or press Reset mid-run. Then start clicking with the right, middle, or side button.

Why test this

One press, two clicks. That's mouse chatter, and it starts the moment a worn switch bounces its contacts. The metal contacts inside wear a little with every press. A worn pair can double-fire on a mouse that still looks fine. The fault hurts normal work as much as games. A single click opens a file twice. Drag-and-drop lets go early. In a match one shot becomes two, or a tap turns into a burst. Early on it's intermittent, so you blame your hand or the software before the hardware. This test puts a number on it. If the switch double-fires under your normal clicking here, it does the same everywhere. That's the proof you want for a warranty claim or RMA. Run it on a used mouse before you trust it, or after a contact cleaning to check whether the fix held.

What the results mean

Four numbers describe your clicking. The ring counts presses of the button you started with and fills at 50, where the run ends. It turns red at the first chatter click. Chatter counts presses that landed within 50 ms of that button's last press or release, so a switch that fires again as you let go shows up too. Last gap and Min gap show, in milliseconds, the newest gap and the smallest one so far. Deliberate clicks sit hundreds of milliseconds apart, so a healthy mouse keeps Chatter at zero and Min gap well above 50 ms. One chatter click can be your own finger pressing twice. Repeated chatter during plain single clicks means the switch is failing. The verdict reads All clear from your second click. The first chatter turns it to Fault detected, and it stays there until the next run starts or you press Reset. Click faster than 8 times a second for most of a run and it reads Too fast to judge, because fast deliberate clicks can land under 50 ms on their own. A run tapped on a touchscreen reads Not a mouse click. The test doesn't save, share, or send either one. Once the 50th click ends the run, a chart draws one bar for each gap the test timed. Any bar under the 50 ms chatter line turns red. That shows you where in the run the switch chattered. The chart tops out at one second, so one long pause won't squash every other bar flat. Under the verdict, a link points to your next step: the fix guide after a fault, the drag test after a clean run. If a side button does nothing here, your mouse software may have remapped it to a keyboard shortcut, so the browser never sees a press. To test a different button, click with it once the run ends, or press Reset.

FAQ

What is mouse chatter?
Chatter is one physical click that registers as two. A worn switch bounces its contacts as you press or let go and sends a second signal, which lands here as a gap under 50 ms.
Why does my mouse double-click when I only pressed once?
The contacts inside the switch are bouncing. As they wear, one press makes the circuit open and close fast enough to read as two clicks, and it gets worse over time.
Can I test the right, middle, or side buttons?
Yes. The test tracks the first button you press in a run. To switch, click with the other button a second after a run ends, or press Reset partway through. Then click only with the right, middle, or side button you want to check.
How many chatter clicks mean the switch is failing?
Even one during normal clicking is worth noting. Repeated chatter while you click once at a time means the switch is on its way out and needs repair or replacement.
Why does a good mouse sometimes show a gap near 50 ms?
A fast click can come close to the line, because the gap also runs from the moment you let go. Chatter is different: you clicked once but the counter rose by two. Judge by what you intended, not the number alone. If most of your clicks come faster than 8 a second, the verdict reads Too fast to judge and the run isn't saved.
Can I fix a chattering mouse instead of replacing it?
Sometimes. Contact cleaner can buy a few months, and replacing the switch is a permanent fix if you can solder. Under warranty, claim a replacement instead.
Can this test show whether cleaning the switch fixed my double-clicking?
Yes, if the change is bigger than your button's own swing from run to run. Each run stops at the 50th click. The test then saves its chatter count and the date in this browser, in a list for that button. A browser can't tell two mice apart. Test a second mouse here and its left-button runs join the first mouse's list. Before you clean the switch, do three runs back to back. Clean it, then run once more. The test calls chatter up or down only when the new count falls outside the range of your earlier runs by more than that range. Anything smaller is too small for the test to show. If the fix worked outright, you get a before and after. Say your last run on that button counted chatter and the new one counts none. The test then asks whether it's the same mouse. Answer yes and the line reads, for example, 4 → 0 chatter clicks. Share the run and the link carries both counts.

How we measure

We publish this method as the RigPolice Chatter Test v2. Change the rule that flags a fault, and the method gets a new version number.

The test reads each press (the browser's mousedown event) and each release (the mouseup that follows it). It tracks the first button you press in the area and ignores the rest until the run ends or you press Reset.

The gap is the time from that button's last press or release to its next press, rounded to the nearest millisecond. Any gap under 50 ms counts as chatter, whether the switch bounces as you press or fires again as you let go.

Only a run at a normal pace gets a verdict. For each click that isn't chatter, the test times the gap from the click before it. If more than half of those gaps are under 125 ms (faster than 8 clicks a second), the verdict reads Too fast to judge. Eight a second is the top of normal one-finger clicking.

A run is 50 clicks. If the test judged it, the chatter count and the date are saved in this browser, in a separate list for each button that keeps the newest 10 runs. For a second after the 50th click the test ignores input, then your next click starts a new run. Once a button has 3 earlier runs, a new run is marked up or down only when it lands outside the range of your last 5 runs by more than the width of that range.

Share packs the whole run into the link, the button and every gap. Whoever opens it sees the same chatter count, click count, Last gap, Min gap and gap chart. The image card shows the click count too. Tell the test a clean run is the same mouse as an earlier run that chattered, and the link keeps that earlier count. The card then shows it, for example "was 4 of 50". A run the test didn't judge has nothing to share.

When a judged run ends at the 50th click, the test sends us its result: fault if it counted any chatter, clean if it didn't, with the chatter count and the button. A run that was too fast to judge or tapped on a touchscreen sends no result. It sends once per button in this browser, and a note it keeps there stops a later run of that button from sending again. The name of your mouse never goes out, and a browser can't see it anyway.

What a browser cannot see

Your mouse can filter out a bounce on its own before it reports the click. That bounce never reaches the test.

Two presses you make on purpose less than 50 ms apart count as chatter, and so does a press less than 50 ms after you let go. Near 8 clicks a second, holding each press too long can leave less than 50 ms between letting go and your next press. Click one at a time at your normal pace. The 50 ms line is our call, set far below the gap of a normal single click.

A tap on a touchscreen fires the same press event a mouse does, so the test checks what made each press. A run with a tap in it reads Not a mouse click.

A browser can't tell two mice apart, so saved runs are kept per button, not per mouse.

Last gap comes from the page clock as long as the page keeps up. The browser also puts its own time stamp on every press. If the gap between two stamps and the page clock's gap are more than 25 ms apart, the page was busy and the stamps set Last gap. On Windows, Firefox stamps in steps of about 15.6 ms. In that browser, a Last gap read while the page was busy can be up to 16 ms off.

Sources

Was this tool useful?

Related reading

Related tests

Embed the double-click test on your page

Covering switch wear or a faulty mouse? Add the double-click test so readers see if their buttons fire twice on one press. Paste one snippet, and the check runs right on your page.

Want the whole set on your pages? See every tool you can embed →