Skip to content

Enumerate devices #31

@RByers

Description

@RByers

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();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions