Preflight Checklist
Problem Description
When implementing the setDevicePermissionHandler(handler) we could not filter devices based on usagePage. As we would not care about the vendor or product in our app we can't preconnect the device based on usage.
Proposed Solution
Add usagePage and usage properties to device information, just like it can be read in the browser when a device is connected.
requestDevice() has these properties in it's HIDDeviceFilter as well.
Alternatives Considered
No idea.
Additional Information
No response