W3cubDocs

/Web APIs

Navigator: hid property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The Navigator.hid read-only property returns an HID object providing methods for connecting to HID devices, listing attached HID devices, and event handlers for connected HID devices.

Where a defined Permissions Policy blocks WebHID usage, the Navigator.hid property will not be available.

Value

An HID object.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
hid 89 89 No No 75 No No No No No No No

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hid