Some existing examples of specs tackling discoverability: * **[Gamepad API](https://w3c.github.io/gamepad/#navigator-interface-extension)** enumerates gamepads with `getGamepads()` and exposes `gamepadconnected` and `gamepaddisconnected` events. * **[Media Capture and Streams](https://www.w3.org/TR/mediacapture-streams/#enumerating-devices)** has an `enumerateDevices()` that returns a promise of all devices, and exposes a `devicechange` event signalling any change, with no payload. -- GitHub Notification of comment by rektide Please view or discuss this issue at https://github.com/w3c/sensors/issues/7#issuecomment-252702118 using your GitHub accountReceived on Monday, 10 October 2016 18:31:05 UTC
This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:52 UTC