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 Status Comment
WebHID API
The definition of 'Navigator.hid' in that specification.
Draft Initial specification

Browser compatibility

No compatibility data found for api.Navigator.hid.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.

See also