mouse: Fix high-resolution scrolling acceleration curve
The CL fixes the scrolling speed for slow movements for high resolution
scrolling mouse. It also unifies the acceleration curve for both low-res
and high-res mice without changing the existing behaviour of low-res ones.
The same displacement at the same speed should now yield the same offset
on screen regardless of the mouse type.
TEST=Unittests; tested with the following devices:
Logitech Anywhere MX, M560, MX Master 2S, and Performance MX;
Microsoft Comfort Optical 3000
Reviewed-by: Harry Cutts <email@example.com>
Reviewed-by: Sean O'Brien <firstname.lastname@example.org>
Tested-by: Harry Cutts <email@example.com>
Commit-Queue: Harry Cutts <firstname.lastname@example.org>
3 files changed