Navigator.hid

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. This could be used to connect to HID devices and get information about them and their events.

Syntax

var hidVar = navigator.hid

Value

An HID object.

Specifications

Specification
WebHID API
# dom-navigator-hid

Browser compatibility

BCD tables only load in the browser

See also