Documentation ¶
Index ¶
- type Device
- func (d *Device) Close() error
- func (d *Device) GetFeatureReport(code byte) ([]byte, error)
- func (d *Device) Manufacturer() string
- func (d *Device) Open() error
- func (d *Device) Path() string
- func (d *Device) Product() string
- func (d *Device) ProductID() uint16
- func (d *Device) Read(b []byte) (int, error)
- func (d *Device) Release() uint16
- func (d *Device) Serial() string
- func (d *Device) VendorID() uint16
- func (d *Device) Write(b []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func (*Device) Manufacturer ¶
Click to show internal directories.
Click to hide internal directories.