bindings/webhid library
WebHID API
Classes
- Hid
- Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface provides methods for connecting to HID devices, listing attached HID devices and event handlers for connected HID devices.
- HIDCollectionInfo
- HIDConnectionEvent
-
Secure context: This feature is available only in secure
contexts (HTTPS), in some or all supporting browsers.
The interface of the
WebHID API
represents HID connection events, and is the event type passed toHID.onconnect
andHID.ondisconnect
when an input report is received. - HIDConnectionEventInit
- HIDDevice
-
Secure context: This feature is available only in secure
contexts (HTTPS), in some or all supporting browsers.
The interface of the
WebHID API
represents a HID Device. It provides properties for accessing information about the device, methods for opening and closing the connection, and the sending and receiving of reports. - HIDDeviceFilter
- HIDDeviceRequestOptions
- HIDInputReportEvent
-
Secure context: This feature is available only in secure
contexts (HTTPS), in some or all supporting browsers.
The interface of the
WebHID API
is passed toHIDDevice.oninputreport
when an input report is received from any associated HID device. - HIDInputReportEventInit
- HIDReportInfo
- HIDReportItem
Enums
Extensions
- PropsHid on Hid
- PropsHIDCollectionInfo on HIDCollectionInfo
- PropsHIDConnectionEvent on HIDConnectionEvent
- PropsHIDConnectionEventInit on HIDConnectionEventInit
- PropsHIDDevice on HIDDevice
- PropsHIDDeviceFilter on HIDDeviceFilter
- PropsHIDDeviceRequestOptions on HIDDeviceRequestOptions
- PropsHIDInputReportEvent on HIDInputReportEvent
- PropsHIDInputReportEventInit on HIDInputReportEventInit
- PropsHIDReportInfo on HIDReportInfo
- PropsHIDReportItem on HIDReportItem