Limited Availability
id: webhid
WebHID
The WebHID API provides access to Human Interface Devices (HID) that are connected to the user's device.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
89
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
89
Supported
Mobile Browser Engine Support
Chrome Android
—
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
api.HID ↗
api.HID.connect_event ↗
api.HID.disconnect_event ↗
api.HID.getDevices ↗
api.HID.requestDevice ↗
api.HID.worker_support ↗
api.HIDConnectionEvent ↗
api.HIDConnectionEvent.HIDConnectionEvent ↗
api.HIDConnectionEvent.device ↗
api.HIDConnectionEvent.worker_support ↗
api.HIDDevice ↗
api.HIDDevice.close ↗
api.HIDDevice.collections ↗
api.HIDDevice.forget ↗
api.HIDDevice.inputreport_event ↗
api.HIDDevice.open ↗
api.HIDDevice.opened ↗
api.HIDDevice.productId ↗
api.HIDDevice.productName ↗
api.HIDDevice.receiveFeatureReport ↗
api.HIDDevice.sendFeatureReport ↗
api.HIDDevice.sendReport ↗
api.HIDDevice.vendorId ↗
api.HIDDevice.worker_support ↗
api.HIDInputReportEvent ↗
api.HIDInputReportEvent.data ↗
api.HIDInputReportEvent.device ↗
api.HIDInputReportEvent.reportId ↗
api.HIDInputReportEvent.worker_support ↗
api.Navigator.hid ↗
api.WorkerNavigator.hid ↗
html.elements.iframe.allow.hid ↗
http.headers.Permissions-Policy.hid ↗