link

package
v0.0.0-...-6cbb9e6 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Done func()

Functions

func Communicate

func Communicate(onData func(interface{}), onError func(error)) error

func Connect

func Connect() (*gousb.InEndpoint, *gousb.OutEndpoint, func(), error)

func Init

func Init() error

func ReceiveMessage

func ReceiveMessage(epIn *gousb.InEndpoint, ctx context.Context) (interface{}, error)

func SendData

func SendData(data interface{}) error

func SendMessage

func SendMessage(epOut *gousb.OutEndpoint, msg interface{}) error

func Start

func Start(width, height, fps, dpi int32)

Types

This section is empty.

Jump to

Keyboard shortcuts

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