ozone: 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 Review URL: https://codereview.chromium.org/1019793011 Cr-Commit-Position: refs/heads/master@{#322384}
Showing
Please register or sign in to comment