• reillyg's avatar
    Add more generic filters to the chrome.hid.getDevices API. · f4dc9d14
    reillyg authored
    Instead of specifying each of the USB vendor and product ID pairs an
    app has permission to open this API extension allows filtering of
    devices by vendor and product IDs as well as HID usage pages and
    usages. The 'vendorId' and 'productId' properties of GetDevicesOptions
    are still supported for backwards compatibility.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/514923002
    
    Cr-Commit-Position: refs/heads/master@{#292577}
    f4dc9d14
hid.idl 4.94 KB