Versions in this module Expand all Collapse all v0 v0.9.1 Mar 2, 2022 v0.9.0 Jan 29, 2019 Changes in this version + var ErrDeviceClosed = errors.New("hid: device closed") + var ErrUnsupportedPlatform = errors.New("hid: unsupported platform") + func Supported() bool + type Device struct + func (dev *Device) Close() error + func (dev *Device) Read(b []byte) (int, error) + func (dev *Device) Write(b []byte) (int, error) + type DeviceInfo struct + Interface int + Manufacturer string + Path string + Product string + ProductID uint16 + Release uint16 + Serial string + Usage uint16 + UsagePage uint16 + VendorID uint16 + func Enumerate(vendorID uint16, productID uint16) []DeviceInfo + func (info DeviceInfo) Open() (*Device, error)