Add msc_timestamp field to HardwareState
This CL adds a field to the HardwareState structure for trackpad data,
so libgesture_glue can send both CLOCK_MONOTONIC and MSC_TIMESTAMP. This
will allow the gesture library to calculate gestures using the more
accurate time deltas from MSC_TIMESTAMP, but report event times to
Chrome browser using CLOCK_MONOTONIC as a base.
Before using the new field, we will wait for the Chrome SDK to pick up the
new gestures.h.
BUG=b:65041115
TEST=Tested manually on lux and eve, using both the old and updated
gestures.h. Also tested in conjunction with CL:817979 and CL:742488.
Change-Id: I817de62eb4c73f584fbddf950be29a33628794e7
Reviewed-on: https://chromium-review.googlesource.com/938751
Commit-Ready: Sean O'Brien <seobrien@chromium.org>
Tested-by: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
24 files changed