mouse: Use new gesture type for wheel scrolling
This allows us to add fields for wheel ticks to the new details struct,
without cluttering the scroll gesture details. The change is only
enabled when a gesture property is set for now, so that it can be
submitted early without breaking Chromium (avoiding build breakage from
unavoidable skew when the Chromium changes that use this are submitted).
To test, patch https://crrev.com/c/2314657 in Chromium.
TEST=Scroll with a mouse wheel, check movements are correct (including
very slow scrolls on high-res wheels, e.g. MS Surface Precision).
Toggle Australian scrolling and check the signs of dy and ticks_dy
Tested-by: Harry Cutts <email@example.com>
Commit-Queue: Harry Cutts <firstname.lastname@example.org>
Reviewed-by: Sean O'Brien <email@example.com>
10 files changed