Descriptionozone: Use DeviceCapabilities in TabletEventConverterEvdev unittest
This change enhances the tests for TabletEventConverterEvdev to support
different device characteristics by loading the device properties from a
DeviceCapabilities structure. Unfortunately I no longer have the device
for which the original test was written from so this change switches the
data used over to a different Wacom Tablet.
This work is in preparation for tests for on-screen active stylus
devices which will have different device properties.
The new data highlighted a bug in TabletEventConverterEvdev where we
were failing to zero the initial absolute position.
TEST=events_unittests passes.
BUG=448467
R=spang@chromium.org
Committed: https://crrev.com/ef110c2c94def1c158361f0863ffc93853d36db1
Cr-Commit-Position: refs/heads/master@{#330948}
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|