• robert.bradford's avatar
    ozone: Use DeviceCapabilities in TabletEventConverterEvdev unittest · ef110c2c
    robert.bradford authored
    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
    
    Review URL: https://codereview.chromium.org/1155543002
    
    Cr-Commit-Position: refs/heads/master@{#330948}
    ef110c2c
tablet_event_converter_evdev.cc 4.82 KB