How to use this test
- Place the pointer over the test area.
- Scroll down slowly for 20–30 notches, pause, then scroll up the same amount.
- Repeat faster. Encoder faults often appear only at certain speeds.
- Watch “Direction jumps”. It should stay at zero.
- Compare the tick counts with the notches you felt; a large shortfall means ticks are being skipped.
How the measurement works
Each wheel movement arrives as a wheel event with a signed distance. The chart draws upward ticks above the centre line and downward ticks below it.
A direction jump is counted when the direction flips and then flips straight back within 150 ms — a pattern a hand does not produce but a dirty or worn rotary encoder does. Deliberate changes of direction are not counted.
How to read your results
- Zero jumps over several hundred ticks: the encoder is healthy.
- A few jumps that appear only when scrolling slowly: dust in the encoder, usually fixable by cleaning.
- Jumps at every speed: the encoder contacts are worn and it will need replacing.
- “Scroll unit” shows pixels for most mice and trackpads and lines in Firefox with a notched wheel; “Typical step” is the distance per event, not a fault indicator.
Troubleshooting
- Blow compressed air into both sides of the wheel while rotating it.
- Roll the wheel briskly end to end for a minute; this can wipe oxide off the contacts.
- Put a single drop of isopropyl alcohol into the encoder with the mouse unplugged, spin the wheel and let it dry.
- Check for firmware updates; some manufacturers have released fixes for wheel debounce.
- If the problem remains, the encoder needs to be replaced (a soldering job) or the mouse returned under warranty.
Supported browsers and devices
- All current desktop browsers. Mechanical wheels, optical wheels, free-spinning wheels and trackpads are supported.
- On macOS, smooth scrolling and inertia add many small events; jump detection still works because it looks at direction, not size.
Limits of this test
- Trackpads and Apple’s Magic Mouse generate inertial scrolling in software, so tick counts will not match finger movement.
- Third-party smooth-scroll utilities alter wheel events before the browser receives them; disable them for testing.
Frequently asked questions
Why does my mouse scroll up when I scroll down?
The rotary encoder that tracks the wheel is dirty or worn, so it misreads the direction of some steps. It is one of the most common mouse faults.
How many direction jumps are acceptable?
None. A healthy encoder produces zero even over thousands of ticks.
Can I fix scroll wheel jumping without soldering?
Often, yes: compressed air and a tiny amount of contact cleaner solve it in many cases. A worn encoder will eventually need replacing.
Does this test horizontal scrolling or tilt wheels?
Horizontal wheel movement is counted in the same way when the browser reports it.