DeviceTest

Mouse Test — Check Every Button, the Wheel and the Side Buttons

This page turns your browser into a mouse tester. Press the left, right, middle or side buttons and roll the wheel — every input lights up on the pad below with a counter, so a dead button or a wheel that only works one way is obvious in seconds.

Quick answer: Click each button on the pad below and roll the wheel both ways: every input you trigger lights up, gets a timestamp and is counted. A button that stays dark (or a wheel direction that never counts) points to a hardware or driver fault — the double-click test on this site checks the other common failure, a chattering switch.

Click the test pad once to give it focus, then press your mouse buttons. Side buttons are intercepted so your browser does not navigate back — the event still registers here.
LRM45press any buttonand roll the wheel
Left button
0
button 0
Right button
0
button 2
Middle / wheel click
0
button 1
Side button 1 (back)
0
button 3
Side button 2 (forward)
0
button 4
Wheel
00
up / down notches

Press any button or roll the wheel to begin.

Buttons registered
0/5
left, right, middle, two side
Wheel directions
0/2
up and down
Total inputs
0
since page load
Core facts
Inputs testedLeft, right, middle/wheel click, side buttons 4 and 5, wheel up, wheel down
Also useful forSpotting a sticky button, a dead side button or a wheel that skips in one direction
Not coveredSensor accuracy, lift-off distance, click latency — browsers never receive raw sensor data
PrivacyAll events are processed in your browser; nothing is uploaded
Works withUSB, Bluetooth and wireless mice, on Windows, macOS, Linux and ChromeOS

How this mouse test reads your input

Every press fires a pointer or mouse event in the browser. We listen for the primary, secondary and auxiliary buttons, the wheel events, and the middle click, then show the last event, a running count and the time since the previous press for each input. Side buttons are handled with a call to preventDefault so the browser does not treat them as back/forward navigation — if your browser still navigates away, note that the event did arrive and your mouse is fine.

What a mouse test cannot tell you

Browsers only receive button and wheel events, not the raw sensor stream, so this page cannot measure tracking quality, jitter, polling rate or click latency. For those, use the polling rate test on this site (which measures what the browser reports, with its own caveats) or your mouse vendor's software. A functional test like this one answers a different, more common question: does every input still arrive?

When to use this test

  • A side button stopped working after a few years and you want to confirm it is the mouse, not the app
  • The wheel scrolls down but not up (or skips) and you want to see whether the notches register at all
  • You bought a used mouse and want a quick function check before the return window closes
  • You are remapping buttons and need to know which browser button number each one sends

Frequently asked questions

Frequently Asked Questions

Why do my side buttons show as button 3 and 4?
Browsers number buttons from 0: left is 0, middle/wheel is 1, right is 2, and the two side buttons are 3 (back) and 4 (forward). The live readout shows the exact button number your mouse sends, which is what you need when remapping software asks for it.
The page navigated back when I pressed a side button. Is my mouse broken?
No — the event arrived, which proves the button works. Some browsers still perform the back/forward action. We call preventDefault to stop it; if your browser overrides that, the button is fine and you can confirm it in the vendor software.
Can this test tell me whether my mouse sensor is accurate?
No. Browsers do not expose raw sensor data. Tracking accuracy, lift-off distance and angle snapping must be tested with the vendor utility or a tool that reads the device driver directly.
Does it work with a laptop trackpad?
Yes for clicks; trackpads usually report left and right click and scroll, but no middle or side buttons, so those rows will simply stay empty.

More mouse tests

More guides