← Back to release summary

WebHID (Human Interface Device)

Category
Device
Type
New or changed feature
Status
Enabled by default (Chrome 89)
Intent stage
Shipped

Summary

Enables web applications to interact with human interface devices (HIDs) other than the standard supported devices (mice, keyboards, touchscreens, and gamepads). However, there are many other HID devices that are currently inaccessible to the web. This API allows web applications to request access to these devices, send and receive HID reports, and retrieve information about the report descriptor. This feature was previously launched on desktop platforms (Windows, macOS, Linux, ChromeOS). Support on Android is planned for Chrome 157. This feature can be controlled by enterprise policies: [DefaultWebHidGuardSetting](https://chromeenterprise.google/policies/#DefaultWebHidGuardSetting), [WebHidAllowAllDevicesForUrls](https://chromeenterprise.google/policies/#WebHidAllowAllDevicesForUrls), [WebHidAllowDevicesForUrls](https://chromeenterprise.google/policies/#WebHidAllowDevicesForUrls), [WebHidAllowDevicesWithHidUsagesForUrls](https://chromeenterprise.google/policies/#WebHidAllowDevicesWithHidUsagesForUrls), [WebHidAskForUrls](https://chromeenterprise.google/policies/#WebHidAskForUrls), [WebHidBlockedForUrls](https://chromeenterprise.google/policies/#WebHidBlockedForUrls).

Standards & signals

Docs: https://web.dev/hid/ https://web.dev/hid-examples/

Explainers: https://github.com/WICG/webhid/blob/master/EXPLAINER.md

View on chromestatus.com