Skip to content

Mouse Test

Click every button and spin the wheel inside the box. Each button lights up while held and turns green once it works. It also catches a mouse that double clicks on its own.

Buttons and scroll wheel

Click, right-click and scroll here

Left
0
0 double · 0 fault
Middle (wheel)
0
0 double · 0 fault
Right
0
0 double · 0 fault
Back (side)
0
0 double · 0 fault
Forward (side)
0
0 double · 0 fault
Scroll
↑0 ↓0
←0 →0 (tilt)
Waiting for a click...

A "fault" is a press arriving within a few ms of the previous release: faster than a human double click, typical of a worn switch.

How to use the mouse tester

  1. Point at the test area (the dashed box). Clicks and scrolling outside it work normally, so you can still use the page.
  2. Press every button once: left, right, middle (press the wheel down) and the side buttons. Pressed buttons turn blue, working buttons turn green.
  3. Double-click each main button a few times to make sure double-clicks register.
  4. Scroll up, down and (if your wheel tilts) left and right.
  5. Look for faults. A red outline means a button registered a second press faster than a human can click.

The readout under the counters shows the raw values the browser received: the button number (0 left, 1 middle, 2 right, 3 back, 4 forward), the buttons bitmask for buttons held together, and the scroll deltaY with its unit (pixels, lines or pages).

The “mouse double clicks by itself” problem

Mouse buttons use tiny spring-metal microswitches. As they wear, the contacts can bounce, so a single press sends two (or more) clicks. You notice it as files opening when you meant to select them, or drag-and-drop dropping things mid-drag.

The tester flags a fault when a button is pressed again within the fault window (30 ms by default) of being released. Deliberate double-clicks leave a much longer gap than that. If you are a very fast clicker or use techniques like butterfly clicking, lower the window to 15 ms to avoid false alarms.

What to do about it:

  • Clean it: a short burst of compressed air around the button can clear dust from the switch.
  • Check the software: some mouse utilities add “debounce” settings. Raising the debounce time a few milliseconds can hide early wear.
  • Replace the switch or the mouse: wear is mechanical, so it usually comes back. Many mice are still under warranty when it starts.

Scroll wheel problems

A scroll wheel that jumps, or scrolls the wrong way now and then, usually has a dirty or worn encoder. Scroll steadily in one direction inside the test area: the opposite counter should stay at zero. If it creeps up, try cleaning around the wheel with compressed air while spinning it.

Test your keyboard too

The keyboard tester checks every key, rollover, ghosting and key chatter in the same way. Once your hardware checks out, see how fast you are with a typing test or try the spacebar counter.

Frequently asked questions

How do I test my mouse buttons?

Move your pointer into the test area and press each button: left, right, the wheel (middle click) and the two side buttons if your mouse has them. Each one lights up while pressed and turns green once it has registered. The counters show presses and double-clicks for each button.

How do I know if my mouse double clicks by itself?

Click normally, one click at a time, about 20 times. If the tester reports a 'fault', the switch sent a second press within a few milliseconds of letting go, faster than a person can click. That is the classic worn-switch double-click problem. One or two faults in a long session can happen; frequent faults mean the switch is failing.

Why don't my side buttons work in the test?

Most browsers report the two standard side buttons (back and forward). If yours do nothing, check whether your mouse software has remapped them to a keyboard shortcut or a macro, and test again with the software closed. Extra buttons beyond the first five aren't visible to web pages.

How do I test the scroll wheel?

Scroll up and down inside the test area. The counters go up for each step, and the wheel lights up in the direction you scrolled. If scrolling one way sometimes registers as the other way, the wheel encoder is dirty or worn. Tilting the wheel left or right (on mice that support it) is counted too.

Can this test my mouse's polling rate or sensor?

Not reliably. Browsers group and throttle movement events to the screen's refresh rate, so a web page can't measure polling rate or sensor accuracy precisely. Use your mouse maker's software for that.

How do I fix a mouse that double clicks?

First rule out software: check the double-click speed in your system settings and update or close the mouse software. Then try compressed air around the button. If faults keep appearing in the tester, the microswitch is worn. Warranty replacement is the easy route; replacing the switch with a soldering iron is possible on many mice.

More free typing tools