Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The USBConnectionEvent
interface of the WebUSB API is the event type passed to USB.onconnect
and USB.ondisconnect
when the user agent detects that a new USB device has been connected or disconnected.