Mouse Sensor Drift Test
Resting drift
Place the mouse on the desk, click start and take your hand away. Every movement the browser receives during the test comes from the sensor itself; if you touch the mouse the sample count jumps and the page tells you.
Take your hand off the mouse before clicking start.
Sensor drop frames and drag test
Move the cursor here to draw; hold the left button to draw a thicker line. Corners and shortcut straight lines in the curve are dropped sensor samples; a thick line thinning out early means the left button released on its own.
Draw slowly first, then quickly. Large jumps only when drawing fast may just mean a low polling rate; corners that appear even when drawing slowly are what points at the sensor.
Movement from nowhere and lines that fall apart
An optical sensor is a tiny camera taking thousands of photos of the desk each second and working out how far the picture moved between two frames. When it cannot find anything to compare, or compares the wrong thing, it has to guess — and that guess reaches the OS as cursor movement you never made.
The faster you move, the less two consecutive photos overlap. Past the limit the sensor loses track and the line stops bending and simply jumps. The largest jump on the trail canvas quantifies that — though a large gap may only mean a low polling rate rather than a faulty sensor.
Clean first, replace later
Turn the mouse over and look at the lens under a lamp. A single hair or a film of oil is enough to cause trouble. Wipe the lens with a dry cotton bud, clear the ring of grime around it, and give the mouse a plain matte pad instead of a bare desk, glass or a busy pattern.
If it still drifts after cleaning the lens, changing the pad and replacing the battery, the sensor has reached the end of its life; a mouse several years old that drops drags has the same story happening in its switch. In both cases replacing it beats living with it. To confirm how fast the mouse reports, use the polling rate test .