Re: [sensors] Sensor discovery

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 account

Received on Monday, 10 October 2016 18:31:05 UTC