MouseButtonTest
Runs in your browser · nothing uploaded

Mouse Button Test

Press every button, spin the wheel, and see instantly whether your mouse is healthy – including the hidden double-click chatter most testers miss.

Click any button or scroll inside this area
Right-click menu & browser back/forward are blocked here

Live results

Waiting for your first clickPress each button about 20 times at a normal pace for a reliable result.
Total clicks
0
Double-clicks
0
Scroll ↑ / ↓
0 / 0
Wheel reversals
0
Clicks / sec
0
Peak CPS
0
Shortest gap
–
Avg. hold
–
50 ms Re-presses faster than this are flagged
Signal timeline · last 4 s LMRBackFwdWheelChatter
Event logms since first click
  1. Event log will appear here

How to test your mouse clicks

This mouse click test listens to the raw press and release events your browser receives from the mouse and times them to the millisecond. It takes under a minute.

Press every button

Move the pointer into the test area and press left, right, middle (wheel click), back and forward. Each lights up on the mouse diagram.

Click at a normal pace

Give each button about 20 single, deliberate clicks. Count them yourself and compare with the counter.

Read the verdict

Green means clean. Any red chatter flag means a single press was seen as two – the classic worn-switch symptom.

What is double-click chatter?

Every mouse button sits on a small micro-switch with a spring-loaded metal contact. When the switch is new, one press produces one clean electrical signal. As it wears, the contact starts to bounce: it touches, separates for a few milliseconds, and touches again. Your computer sees two clicks.

The result is familiar: files open when you meant to select them, drag-and-drop lets go mid-drag, and in games a single shot fires twice. Most simple click counters cannot tell this apart from you clicking twice. This tester measures the gap between releasing a button and pressing it again. A human needs at least 60–80 ms to lift a finger and press again; switch bounce happens in under 30 ms. Anything faster than your chosen threshold is flagged in red on the timeline and in the event log.

Tip: chatter is often intermittent. If the result is clean but you still notice problems, try pressing gently, pressing slightly off-centre, and holding the button down for a second before releasing – worn switches often misbehave on partial presses and releases.

Reading your results

MetricWhat it meansHealthy value
PressesNumber of times each button went down.Matches the number of times you pressed.
ChatterPresses that came faster than the threshold after the previous release of the same button.0
Shortest gapSmallest release-to-press time seen on any button.Above 60 ms when clicking normally.
Avg. holdHow long a button stays down per click on average.40–150 ms. Under 10 ms suggests a phantom click.
Double-clicksHow many times the operating system recognised a double-click.Only when you double-click on purpose.
Wheel reversalsScroll ticks that suddenly went the opposite way within 80 ms while you scrolled in one direction.0 – otherwise the wheel encoder is dirty or worn.
Clicks / secPresses in the last second, across all buttons.Informational (6–8 is typical, 10+ is fast).

The signal timeline draws each press as a bar whose length equals how long the button was held. A healthy click looks like a single clean block. A chattering switch shows up as two blocks almost touching, with the second one marked red.

Common mouse problems & how to fix them

Single click registers as double

Worn or oxidised switch. Try raising the debounce time in your mouse software, update its firmware, or blow compressed air around the button. If chatter persists, replace the switch or use the warranty.

Button does not respond

Test on a different USB port or with a fresh battery. For wireless mice, re-pair the receiver. If the diagram never lights up, the switch or cable is broken.

Side buttons missing

Mouse software (Logitech G HUB, Razer Synapse, etc.) may have remapped them to keystrokes. Restore the defaults. Safari on macOS does not report side buttons to web pages – test in Chrome, Edge or Firefox.

Scroll wheel jumps backwards

Dust in the wheel encoder. Roll the wheel firmly in both directions for 30 seconds, or blow compressed air into the gap around it. Persistent reversals mean the encoder needs replacing.

Drag & drop keeps dropping

The switch briefly releases while held. Hold a button down here for a few seconds – a healthy switch shows one long bar on the timeline; a failing one breaks into pieces.

Double-click doesn't work

If single clicks are fine but double-clicks fail, your system double-click speed may be too fast. On Windows: Settings → Bluetooth & devices → Mouse → Additional mouse settings.

Mouse button numbers explained

Browsers number mouse buttons from 0. Knowing the numbers helps when you set up games or macro software.

ButtonBrowser codeAlso calledDefault action
Left0Primary, Mouse 1Select, open, drag
Middle (wheel click)1Mouse 3Open link in new tab, auto-scroll
Right2Secondary, Mouse 2Context menu
Back3Mouse 4, XButton1Browser back
Forward4Mouse 5, XButton2Browser forward

Left-handed mode swaps the primary and secondary buttons at the operating-system level, so this test shows what your system actually sends.

Frequently asked questions

Why does my mouse double-click when I click once?

Almost always a worn micro-switch. As the metal contact inside loses tension or oxidises, it bounces when pressed and the computer sees two clicks a few milliseconds apart. This test flags those as chatter.

Why don't the back and forward buttons show up?

Some mouse software remaps side buttons to keystrokes or macros, so the browser never receives a button 4/5 event. Reset the buttons to default in your mouse software and test again. Safari on macOS also does not report side buttons to web pages.

What chatter threshold should I use?

The default of 50 ms catches nearly all switch bounce while ignoring fast intentional clicking. If you click very fast on purpose, lower it to 30 ms; to be strict, raise it to 80 ms and click slowly.

Can a mouse double-click problem be fixed?

Sometimes. Cleaning, a firmware update or raising the debounce time in the mouse software can help. The permanent fix is replacing the micro-switch (a common soldering job) or claiming warranty.

Does this test work on laptops and touchpads?

Yes. Touchpad taps and physical touchpad buttons register as left and right clicks, and two-finger scrolling registers as wheel input.

Is any data sent anywhere?

No. All click timing is measured and kept in your browser. Nothing you click is uploaded.

More mouse tests