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 APIrepresents HID connection events, and is the event type passed toHID.onconnectandHID.ondisconnectwhen 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 APIrepresents 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 APIis passed toHIDDevice.oninputreportwhen 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