Mouse Input Test
For the curious and the technical: see every raw field of every mouse event your browser receives.
Move, click and scroll here
Event Log
How to Use the Mouse Input Test
This input test shows exactly what the page sees, field by field. It's handy for checking button numbers, scroll deltas, pointer type and whether your browser supports raw pointer updates.
- Move the mouse. Watch clientX, clientY and movementX/Y update.
- Click buttons. See the button and buttons values for each press.
- Scroll. Check deltaY and deltaMode (0 = pixels, 1 = lines).
What a Browser Can See
Buttons arrive as numbers 0 to 4. The wheel sends deltas. Movement includes position and relative movement. Pointer type tells you mouse, pen or touch. The page can't see DPI, battery or firmware.
What This Test Shows
The mouse input test shows every event your browser receives from the mouse: button presses and releases, wheel steps and movement. It's a simple way to see exactly what your mouse sends, which is useful when a button seems to do the wrong thing or when you want to check a macro or remap.
| Event | What triggers it |
|---|---|
| mousedown / mouseup | Pressing and releasing a button |
| button 0, 1, 2 | Left, middle and right buttons |
| button 3, 4 | Back and forward side buttons |
| wheel | Each scroll step, with its direction |
| mousemove | Any movement of the mouse |
Common Uses
- Check that side buttons send Back and Forward, not a keyboard key.
- Confirm that a remapped button sends what you set in your mouse software.
- See whether one press creates two events, which points to a double-click fault.
- Check tilt-wheel or extra buttons on MMO mice.
Tips
Close your mouse software if events look strange, because some tools send keyboard presses instead of mouse buttons. If a button shows nothing at all, it may be bound to a feature that the browser can't see, like a DPI switch.
Frequently Asked Questions
What is buttons vs button?
button is the one that changed. buttons is a bitmask of everything held right now.
Why is pressure 0.5?
Mice report 0.5 while a button is held and 0 otherwise.
What is pointerrawupdate?
A faster event that some browsers support for high polling rates.
Related Tools
Polling Rate Test
Measure your mouse report rate in Hz from coalesced and raw pointer events.
Mouse Button Test
Guided check of left, right, middle and side buttons 4 and 5 with a clear verdict.
What Mouse Do I Have?
Identify your mouse model and its specs on Windows, macOS and Linux.
Mouse Tester
The all-in-one mouse test: buttons, wheel, chatter and polling rate.