Mouse Tester does not produce a mouse-aiming accuracy score; it checks whether the browser receives and identifies each mouse-button press correctly.

If your goal is to measure how precisely the pointer lands on small visual targets, this is the wrong test. A conventional mouse accuracy test evaluates cursor placement against targets. Mouse Tester instead validates button recognition, extra-button mappings, and missing browser events through the Web platform's MouseEvent.button property.

mouse tester accuracy
Mouse Tester Accuracy: Verify Browser Button Events

Accuracy means matching events, not scoring aim

In this Mouse Tester workflow, accuracy means that a deliberate button press produces one expected browser event and one corresponding count increase. The tester records button-down events delivered to its large browser target. Each accepted event increases the total, adds one to the count for its named button code, and appends the label to a Recent list containing the latest eight accepted labels.

The target suppresses its own context menu and auxiliary activation within the dashed area. That prevents a secondary or middle-button press from immediately replacing the test result with a browser menu. This suppression is limited to the target and cannot override browser or operating-system behavior that runs at a higher priority.

The tool reports accepted events rather than assigning a pass percentage or hardware-health score. A clean check means the expected named count increases once for each intentional press, the total stays consistent with those presses, and Recent shows the order in which the browser delivered them.

MouseEvent.button code Web button name Practical meaning
0 Primary The device's main activation button; operating-system settings may assign it to a different physical side.
1 Auxiliary Commonly a middle or wheel button.
2 Secondary The browser's secondary-button event; its name does not guarantee a particular physical side.
3 Back Commonly an extra navigation button when the browser exposes it.
4 Forward Commonly an extra navigation button when the browser exposes it.

Why physical buttons and Web codes differ

Mouse Tester follows the Web platform mapping rather than guessing from the physical position of a button. The platform reference for MDN's MouseEvent.button property and the W3C Pointer Events button property define the browser-facing model. An operating system can swap physical left and right roles, so Primary does not always identify the physical left switch.

The distinction between MouseEvent.button and MouseEvent.buttons also matters. The button property identifies the button associated with a press or release event. The buttons property is a bit field representing buttons currently held during other mouse events. Mouse Tester listens to button-down events and classifies the single code on each event. It does not test simultaneous chords or reconstruct a continuous held-button state.

Any other integer code is retained as Unknown with its numeric value instead of being forced into a known label. Fractional values are rejected because the documented mapping uses integer codes. An Unknown result can therefore be useful evidence that an event source produced a code outside the five named mappings.

Run a controlled one-button test

  1. Open the Mouse Tester and place the pointer inside the dashed target. Keep the pointer there throughout the test so the browser delivers each press to the intended area.
  2. Press the primary button once. Confirm that the total and the Primary named count each increase by one and that Recent adds a Primary label.
  3. Press the auxiliary, secondary, back, or forward button one at a time, if the device has it. After every press, check the matching named count and the latest Recent label.
  4. Repeat each available button several times. For every deliberate press, look for one total increase, one increase in that button's named count, and a matching entry in the Recent order.
  5. Repeat in the affected application when needed and compare its behavior with the browser result. Treat this as a separate context check because Mouse Tester records only events delivered to its visible target and cannot observe an application's internal state.
  6. Use Reset test to clear the current in-memory session before another run. Refreshing or closing the page also removes the current counts.

Interpret total, named, and recent results

The three outputs answer different questions. Total counts every accepted button-down event. A named count isolates events carrying one Web button code. Recent preserves the order of the latest eight accepted labels, which helps reveal extra, missing, or repeated events during a sequence.

Observed result Supported interpretation Useful next check
The total and one named count increase once. One matching button-down event reached the page. Repeat several times and inspect the Recent order.
A named count does not change. No matching event reached this page during the test. Retest in the browser and affected application; do not declare the physical switch defective.
Several counts increase for one apparent press. The page received multiple accepted button-down events. Compare the behavior with a Double Click Test or manufacturer software.
Unknown appears with a numeric value. The browser delivered an integer code outside the five named mappings. Check for extension, driver, or remote-software remapping and for synthesized input.
A fractional value is rejected. The value does not match the documented integer-code format. Use a source that exposes a valid integer MouseEvent.button value.

A zero count is limited to what the page observed: no matching event reached the Mouse Tester target during that session. It does not establish that the physical switch failed. Similarly, multiple events do not identify the source by themselves. The Recent list shows order, not timing, so another test or device diagnostic may be needed when clicks appear duplicated.

When a button is intercepted or remapped

The browser or operating system can intercept a button before the page receives it. Back and forward buttons may navigate browser history instead of producing a persistent result in the target. Browser extensions can remap input, accessibility software can synthesize events, and remote-desktop software can alter the codes delivered to an application. A mouse with working switches can therefore produce a zero count in the tester.

Suppressing default behavior inside the target reduces accidental menus and activation during the check, but it cannot force an intercepted event to reach the page or reverse a remapping decision made elsewhere. If an extra button works in one application but not another, test the same device in both contexts and treat the comparison as evidence about browser delivery, not as a complete hardware diagnosis.

Measurements this page cannot make

Mouse Tester's button-event counts should not be presented as a general measure of mouse quality. It does not measure click speed, double-click interval, polling rate, button debounce, wireless latency, switch force, pointer movement, scroll-wheel deltas, or drag behavior. It also cannot calculate how accurately the pointer lands on a target.

  • Use timing measurements for click speed and double-click intervals.
  • Use device-specific diagnostics for polling rate, wireless latency, debounce, and switch force.
  • Use a pointer-placement test for aiming and target accuracy.
  • Use a separate wheel-event test for scroll-wheel deltas.

The tool also cannot certify accessibility, game suitability, or hardware condition. Those conclusions require different measurements and, in some cases, access to physical timing information or device diagnostics that a normal web page does not have.

Session scope and privacy

All counts remain in the current tab and are not saved as a history. Reset test clears the in-memory session, while refreshing or closing the page also removes the current state. The widget does not request a device identifier, install a driver, upload events, save historical results, or listen outside the visible test target. This keeps the check focused on the button-down events that the browser actually delivers to the page.