New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude some devices from picker #92
Comments
That seems like a nice feature. It wasn't an issue for WebUSB but since you can filter HID devices by usage page and so would match a much broader range of devices the ability to then exclude some by another property seems useful. |
That seems very useful. I'd also like to be able to filter on whether the device permission is already granted. That would allow apps to exclude already-granted device permissions so the user is only choosing between new devices. The inverse could also be useful: filtering to show only the already-granted device permissions. You won't grant any permissions with that filter but it's a cheap way to add a chooser to your app. |
Thanks for your support folks! |
Closing since #93 was merged. |
Here's a feature request I received from developers:
Basically, providing a way to exclude known devices that are known to not work as expected.
Currently, developers let users pick a device, then check against a custom helper function (like
deviceIsBlocklisted()
) if device is known to be malfunctioning.CURRENT
How about providing some new
"excludes"
HIDDeviceRequestOptions option to help developers with this use case?PROPOSAL
@nondebug @reillyeon
The text was updated successfully, but these errors were encountered: