WebHID API browser support
Published
The WebHID API lets a web app request access to non-standard Human Interface Devices through navigator.hid.requestDevice(), filtered by vendor ID, and exchange input, output, and feature reports with them. requestDevice() resolves with an array of the HID interfaces the chosen device exposes. Closing the picker returns an empty array. Open the device with open() before calling sendReport(); calling it on a closed device rejects with InvalidStateError.
MDN browser-compat-data records support for navigator.hid.requestDevice() and the core HID interface.
- Legend
- Yes
- Partial
- Flag
- No
- Unknown
| Browser / Platform | Support | Versions | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Desktop)# | Yes | 89 | high | source | — |
| Chrome (Android)# | No | — | high | source | 1 |
| Edge (Desktop)# | Yes | 89 | high | source | 2 |
| Firefox (Desktop)# | No | — | high | source | 3 |
| Firefox (Android)# | No | — | high | source | 45 |
| Safari (macOS)# | No | — | high | source | 6 |
| Safari (iOS)# | No | — | high | source | 78 |
| Samsung Internet# | No | — | high | source | 910 |
| WebView (Android)# | No | — | high | source | 1112 |
- No Chrome Android support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Chrome.
- No Firefox support is recorded in browser-compat-data.
- No Firefox for Android support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Firefox.
- No Safari support is recorded in browser-compat-data.
- No Safari on iOS support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Safari.
- No Samsung Internet support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Chrome Android.
- No WebView Android support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Chrome Android.
See also
Section titled “See also”- WebHID API: navigator.hid device access from the web
- Web Serial API browser support
- WebHID API (wicg.github.io)
- WebHID API (developer.mozilla.org)