package
0.0.0-20210928111308-7e038338fb64
Repository: https://github.com/joshuar/go-linuxkeyboard.git
Documentation: pkg.go.dev

# Functions

KeyCodeOf is a helper function to return the underlying KeyCode for a particular Key.
New InputEvent creates a new, empty InputEvent.

# Constants

EvAbs is used to describe absolute axis value changes, e.g.
.
EvFf is used to send force feedback commands to an input device.
EvFfStatus is used to receive force feedback device status.
EvKey is used to describe state changes of keyboards, buttons, or other key-like devices.
EvLed is used to turn LEDs on devices on and off.
.
EvMsc is used to describe miscellaneous input data that do not fit into other types.
EventValue definitions EvPress indicates a key has been pressed.
EvPwr is a special type for power button and switch input.
EvRel is used to describe relative axis value changes, e.g.
EvRelease indicates a key has been released.
EvRep is used for autorepeating devices.
EvSnd is used to output sound to devices.
EvSw is used to describe binary state input switches.
EventType definitions EvSyn is used as markers to separate events.

# Structs

InputEvent represents a key event.

# Type aliases

EventType is a custom type for conveiniently using the EventType constants above.
EventValue is a custom type for conveiniently using the EventValue constants above.