Discrete Touchpad Wheel
Converts continuous precision-touchpad (or high-resolution mouse wheel) scrolling into discrete mouse wheel events for legacy apps that ignore the scroll magnitude and scroll uncontrollably fast
Author: yezhiyi9670
IMPORTANT
This mod does NOTHING by default. You need to add the apps you intend to
affect to the Custom process inclusion list in the mod's Advanced
settings.
Windows precision touchpads (as well as certain mice with high-resolution
wheels) report scrolling as a continuous stream of wheel
messages, each carrying a signed delta (a magnitude). Modern apps scroll the
page accurately according to the delta, which produces smooth
scrolling. Some legacy apps ignore the magnitude and treat every message as one
full wheel notch, which makes scrolling uncontrollably fast.
This mod swallows those continuous wheel messages and accumulates their deltas
per scroll target, then emits a real discrete WM_MOUSEWHEEL / WM_MOUSEHWHEEL
event only once the accumulated magnitude reaches the configured threshold. The
result is normal, predictable scrolling in the affected apps.
Enabling the mod for an app
This mod does not target any process by default. To apply it to an app, open the
mod's Advanced tab in Windhawk and add the process name (for example
notepad.exe) to the Custom process inclusion list. The change takes effect
after saving.
Because the mod runs inside each targeted process, the accumulator state is
naturally scoped per app, and apps that are not on the list are never touched.
Settings
- Vertical threshold — accumulated vertical magnitude required before one
discrete wheel event is emitted.
120 is one standard wheel notch.
- Horizontal threshold — same, for horizontal scrolling.
Limitations
- Only apps that receive scrolling through the Win32 message queue can be
handled. Apps using Direct Manipulation bypass the queue entirely.
- Apps that already handle continuous deltas correctly should not be added to
the inclusion list, or their scrolling will be coarsened.