commit | ab9d9f237278eb463811785ed232e2080142ac8a | [log] [tgz] |
---|---|---|
author | Caroline Liu <carolineliu@google.com> | Fri Jun 24 19:16:10 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 24 19:16:10 2022 +0000 |
tree | 8e1cbfb8cc76e3ff301f1513f6e04aaa147bcfaa | |
parent | 3f72e78337757b20027cecc667f124d58e9edf06 [diff] |
[ui][input] Add RelativeLocation struct in mouse_binding. The new struct carries relative mouse movement in two fields: - device-specific "counts" (status quo) - "millimeters" (new) This change also does the following: - Update all existing uses of MouseLocation::Relative to use RelativeLocation::counts. - Set all instances of RelativeLocation::millimeters() to zero -- making this field meaningful is covered by a separate bug (102566). - Update unit tests to validate the new struct, but only the counts field. Fixed: 102562 Test: fx test input_pipeline_lib_tests Change-Id: I13dc8990a33dbe6ff3cd5a014c3a88f761147c15 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/692725 Commit-Queue: Caroline Liu <carolineliu@google.com> Reviewed-by: Filip Filmar <fmil@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.