Skip to content
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

Enumerate devices #31

Open
RByers opened this issue Apr 25, 2018 · 0 comments
Open

Enumerate devices #31

RByers opened this issue Apr 25, 2018 · 0 comments

Comments

@RByers
Copy link
Member

RByers commented Apr 25, 2018

From the beginning of the brainstorming for this API there was discussion about eventually supporting device enumeration. It looks like we didn't have a GitHub issue to track that though.

My initial naive proposal was to have a simple enumeration method:

partial interface InputDeviceCapabilities {
  // Return all of the (unique) input devices.
  static sequence<InputDeviceCapabilities> getAllDeviceCapabilities();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant