Add support for hi res scroll to mttools replay

To support tests for the MS precision mouse, mttools replay needs
to populate high resolution scroll settings.

BUG=b:149932225
TEST=Ensure all current and new touchtests pass (src/platform/touchpad-tests)

Change-Id: I85890321d7c834051366bb6c814ffb8323636d8a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/mttools/+/2197189
Reviewed-by: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Harry Cutts <hcutts@chromium.org>
Reviewed-by: Jora Jacobi <jora@google.com>
Tested-by: Jora Jacobi <jora@google.com>
Commit-Queue: Jora Jacobi <jora@google.com>
diff --git a/mtreplay/src/evdev_gestures.cc b/mtreplay/src/evdev_gestures.cc
index c7d5433..b0eca0b 100644
--- a/mtreplay/src/evdev_gestures.cc
+++ b/mtreplay/src/evdev_gestures.cc
@@ -43,6 +43,8 @@
   hwprops->supports_t5r2 = Event_Get_T5R2(evdev_);
   hwprops->support_semi_mt = Event_Get_Semi_MT(evdev_);
   hwprops->is_button_pad = Event_Get_Button_Pad(evdev_);
+  hwprops->wheel_is_hi_res = TestBit(REL_WHEEL_HI_RES,
+                                      evdev_->info.rel_bitmask);
 }
 
 void EvdevGesture::PushEventState(EventStatePtr evstate, struct timeval* tv) {
@@ -81,6 +83,7 @@
   hwstate.rel_y = evstate->rel_y;
   hwstate.rel_wheel = evstate->rel_wheel;
   hwstate.rel_hwheel = evstate->rel_hwheel;
+  hwstate.rel_wheel_hi_res = evstate->rel_wheel_hi_res;
   GestureInterpreterPushHardwareState(interpreter_, &hwstate);
 }