hid

package
v0.0.0-...-a545287 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2022 License: MIT, MIT Imports: 2 Imported by: 0

Documentation

Index

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 Find

func Find() []*Device

func (*Device) Close

func (d *Device) Close() error

func (*Device) GetFeatureReport

func (d *Device) GetFeatureReport(code byte) ([]byte, error)

func (*Device) Manufacturer

func (d *Device) Manufacturer() string

func (*Device) Open

func (d *Device) Open() error

func (*Device) Path

func (d *Device) Path() string

func (*Device) Product

func (d *Device) Product() string

func (*Device) ProductID

func (d *Device) ProductID() uint16

func (*Device) Read

func (d *Device) Read(b []byte) (int, error)

func (*Device) Release

func (d *Device) Release() uint16

func (*Device) Serial

func (d *Device) Serial() string

func (*Device) VendorID

func (d *Device) VendorID() uint16

func (*Device) Write

func (d *Device) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL