Descriptionozone: evdev: Add absolute axis information to DeviceCapabilities
We'll need this to do touchscreen (and other absolute) device testing
with real event dumps as input since the axis information must be valid.
Replace the shell script to capture capabilities with a python script,
because the absolute axis bounds aren't exposed in sysfs. We have
python-evdev on test images. Unfortunately it's a bit incomplete & buggy,
so fall back to sysfs for the missing & incorrect bits.
The "sw" field was accidently omitted previously and is now populated.
BUG=none
TEST=events_unittests
Committed: https://crrev.com/4ff8f3ee664038e3617d093439dc6cfed1e1b8ed
Cr-Commit-Position: refs/heads/master@{#322384}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|