Documentation
¶
Index ¶
Constants ¶
View Source
const HIDUse = false
Variables ¶
View Source
var ErrNotFound = errors.New("device not found")
Functions ¶
This section is empty.
Types ¶
type HIDAPI ¶
type HIDAPI struct { }
func InitHIDAPI ¶
func InitHIDAPI(mw *memorywriter.MemoryWriter) (*HIDAPI, error)
type LibUSB ¶
type LibUSB struct {
// contains filtered or unexported fields
}
func InitLibUSB ¶
func InitLibUSB(mw *memorywriter.MemoryWriter, onlyLibusb, allowCancel, detach bool) (*LibUSB, error)
type LibUSBDevice ¶
type LibUSBDevice struct {
// contains filtered or unexported fields
}
func (*LibUSBDevice) Close ¶
func (d *LibUSBDevice) Close(disconnected bool) error
type PortTouple ¶
type UDP ¶
type UDP struct {
// contains filtered or unexported fields
}
func InitUDP ¶
func InitUDP(ports []PortTouple, mw *memorywriter.MemoryWriter) (*UDP, error)
Click to show internal directories.
Click to hide internal directories.