Descriptionozone: evdev: Use real initializer MockTouchEventConverterEvdev
Use the captured description of the touchscreen for Chromebook Pixel to
initialize the mock touchscreen, instead of just faking a couple of
the members and leaving the rest uninitialized.
The press, release, & move tests are merged into one test using real
captured data from the Pixel touchscreen. The other tests just got
their "pressure" values rescaled to the new axis.
Now we can add a test that pases in a non-MT device description.
BUG=461518
TEST=events_unittests
Committed: https://crrev.com/c85426f444de061f8d75f59c63f94f48a2490232
Cr-Commit-Position: refs/heads/master@{#322607}
Patch Set 1 #Patch Set 2 : remove stray event #Messages
Total messages: 8 (3 generated)
|