webhid library Null safety

WebHID API

https://wicg.github.io/webhid/

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 to HID.onconnect and HID.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 to HIDDevice.oninputreport when an input report is received from any associated HID device.
HIDInputReportEventInit
HIDReportInfo
HIDReportItem

Extensions

PropsHid
PropsHIDCollectionInfo
PropsHIDConnectionEvent
PropsHIDConnectionEventInit
PropsHIDDevice
PropsHIDDeviceFilter
PropsHIDDeviceRequestOptions
PropsHIDInputReportEvent
PropsHIDInputReportEventInit
PropsHIDReportInfo
PropsHIDReportItem

Enums

HIDUnitSystem