package
5.2.0
Repository: https://github.com/prysmaticlabs/prysm.git
Documentation: pkg.go.dev

# README

usb

This is a copy of github.com/karalabe/usb, except that it is fully disabled.

The current karalabe/usb library requires a bit of handwritten cc_library targets. This library isn't used in Prysm anyway, so it is disabled for now.

# Functions

Enumerate returns a list of all the USB devices attached to the system which match the vendor and product id.
EnumerateHid returns a list of all the HID devices attached to the system which match the vendor and product id.
EnumerateRaw returns a list of all the USB devices attached to the system which match the vendor and product id.
Supported returns whether this platform is supported by the USB library or not.

# Variables

ErrDeviceClosed is returned for operations where the device closed before or during the execution.
ErrUnsupportedPlatform is returned for all operations where the underlying operating system is not supported by the library.

# Structs

DeviceInfo contains all the information we know about a USB device.
HidDevice is a live HID USB connected device handle.
RawDevice is a live raw USB connected device handle.

# Interfaces

Device is a generic USB device interface.