Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogWriter ¶
Types ¶
type HidDevice ¶
type HidDevice struct {
HidDeviceInfo // Embed the infos for easier access
}
type HidDeviceInfo ¶
type HidDeviceInfo struct { VendorID uint16 // Device Vendor ID ProductID uint16 // Device Product ID Interface int UsagePage uint16 // Usage Page for this Device/Interface (Windows/Mac only) Path string // Platform-specific device path }
func HidEnumerate ¶
func HidEnumerate(vendorID uint16, productID uint16) []HidDeviceInfo
func (HidDeviceInfo) Open ¶
func (info HidDeviceInfo) Open() (*HidDevice, error)
Click to show internal directories.
Click to hide internal directories.