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

Change-Id: Ib283c8ae59401e28b30f576a32be4f45744e6b7c
Reviewed-by: Harry Cutts <>
Reviewed-by: Sean O'Brien <>
Tested-by: Harry Cutts <>
Commit-Queue: Harry Cutts <>
3 files changed