← Back to release summary

WebHID on Dedicated Workers

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

WPT details: WPT are planned, we have some web_tests already but the external web platform tests are minimal and only verify the presence of interfaces and attributes: https://wpt.fyi/results/webhid We have internal web tests that will be converted to WPT: https://source.chromium.org/chromium/chromium/src/+/master:third_ and may differ by party/blink/web_tests/hid/

Summary

WebHID is enabled inside dedicated worker contexts. This allows developers to perform heavy I/O and processing of data from a HID device on a separate thread to reduce the performance impact on the main thread.

Motivation

By combining the capabilities of WebHID and dedicated workers, web developers can minimize input latency and ensure a smooth user experience, even with the complexities of specialized gaming hardware.

Standards & signals

Ecosystem

Samples: https://webhid-worker.glitch.me/

Explainers: https://github.com/WICG/webhid/pull/121

View on chromestatus.com