Snaplytics JS Tests

Mouse Double Click Test

Check whether your mouse registers one physical click as two. Click the pad below at a normal pace: the test times the gap between each press and flags any that arrive too close together to be intentional — the tell-tale sign of a worn switch “chattering” a single click into a double.

Ready
Test button
Chatter threshold65 ms
Last interval
Click here to test

Left-click this pad at a normal, single-click pace.

Total clicks
0
Chatter clicks
0
Fastest gap

Click the pad a few times to begin.

Click log

most recent first

No intervals yet — click the pad twice or more.

How this test works

Every time you press the selected mouse button, the tool records a high-resolution timestamp and measures the gap to your previous press of the same button. Two presses separated by only a few milliseconds are physically impossible to produce by hand, so any interval under the chatter threshold is flagged as a likely unintended double-click. Because the classification is applied live, you can drag the threshold slider afterwards and watch which intervals are counted as misfires. Click at a relaxed, single-click pace — don't deliberately double-click, or you'll trigger flags yourself.

What causes double-click chatter

The micro-switch under each mouse button is a mechanical contact rated for a finite number of presses. As it wears, its metal contacts can bounce or fail to settle cleanly, so one press briefly makes, breaks, and re-makes the circuit. The mouse firmware reads that bounce as two separate clicks. Common contributors include:

  • Age and use — switches are typically rated for tens of millions of clicks and eventually degrade.
  • Debounce failure — firmware is meant to ignore contact bounce for a few milliseconds, and that filter can become too short as the switch ages.
  • Dirt, dust, or oxidation on the contacts inside the switch housing.
  • A manufacturing tolerance or early-life defect in the switch itself.

Telling chatter apart from an intended double-click

A deliberate double-click from a human hand almost always has a gap above roughly 120 ms, and operating systems use a similar window when deciding whether two clicks count as a double-click. Switch chatter is far faster — usually under about 50 ms, often single-digit milliseconds — because it comes from electrical bounce rather than muscle movement. That gap is why a threshold in the 50–80 ms range separates the two cleanly: real double-clicks sit comfortably above it, while chatter falls well below. If your flagged intervals are all in the low tens of milliseconds or less, they are almost certainly misfires rather than intentional input.

How to fix a chattering mouse

  • Confirm the fault first — run the Mouse Tester to check every button and the scroll wheel, so you know the double-clicking is isolated to one switch before you open anything up.
  • Software debounce — some mice and third-party utilities let you raise the click debounce time, which masks mild chatter without hardware work.
  • Clean the switch — a few drops of electrical contact cleaner worked into the button, followed by rapid clicking, can clear oxidation on the contacts.
  • Replace the switch — the reliable long-term fix is desoldering the worn micro-switch and fitting a fresh one, if you are comfortable with soldering.
  • Use the warranty — if the mouse is still covered, chatter is a recognized fault and is usually grounds for a replacement.