hidraw

package
v0.0.0-...-bae9420 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HIDEvent

type HIDEvent [8]byte

type HIDRaw

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

func New

func New(path string) (*HIDRaw, error)

func NewFromReader

func NewFromReader(r io.ReadCloser) *HIDRaw

func (*HIDRaw) Close

func (h *HIDRaw) Close() error

func (*HIDRaw) Serve

func (h *HIDRaw) Serve(ctx context.Context, callback func(HIDEvent) error) error

Jump to

Keyboard shortcuts

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