input

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Devices

func Devices() ([]*evdev.InputDevice, error)

func ListenToKeyboard

func ListenToKeyboard(p *tea.Program, dev *evdev.InputDevice)

func PrintDeviceError

func PrintDeviceError(err error)

func PrintStartError

func PrintStartError(err error)

func StartInput

func StartInput(p *tea.Program) error

Types

type KeyMsg

type KeyMsg struct {
	Code uint16
	Down bool
}

Jump to

Keyboard shortcuts

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