usbhid

package
v0.0.0-...-f37b9f3 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2016 License: MIT Imports: 3 Imported by: 0

README

UsbHid is a wrapper around github.com/zserge/hid to implement io.ReadWriter

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsbHid

type UsbHid struct {
	// contains filtered or unexported fields
}

UsbHid ...

func Scan

func Scan(vendor, product uint16) []*UsbHid

Scan ...

func (*UsbHid) Close

func (u *UsbHid) Close() error

Close ...

func (*UsbHid) Read

func (u *UsbHid) Read(p []byte) (n int, err error)

Read ...

func (*UsbHid) Start

func (u *UsbHid) Start() error

Start ...

func (*UsbHid) Write

func (u *UsbHid) Write(p []byte) (n int, err error)

Write ...

Jump to

Keyboard shortcuts

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