touchctl

package
v0.0.0-...-06bcc8c Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*TouchCtl)

func WithToucherKind

func WithToucherKind(kind ToucherKind) Option

func WithYubikeys

func WithYubikeys(yubikeys map[uint32]uint8) Option

type TouchCtl

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

func NewTouchCtl

func NewTouchCtl(opts ...Option) (*TouchCtl, error)

func (*TouchCtl) Touch

func (t *TouchCtl) Touch(serial uint32) error

type ToucherKind

type ToucherKind string
const (
	ToucherKindNone ToucherKind = ""
	ToucherKindHw   ToucherKind = "hw"
)

func (ToucherKind) MarshalText

func (k ToucherKind) MarshalText() ([]byte, error)

func (*ToucherKind) UnmarshalText

func (k *ToucherKind) UnmarshalText(data []byte) error

Jump to

Keyboard shortcuts

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