Documentation
¶
Overview ¶
Package linuxinput creates the uinput virtual devices the input engine drives on Linux. The devices it returns satisfy the engine's keyboard and gamepad backend interfaces directly; key and button name resolution lives in the platform-neutral keyboardmap and gamepadmap packages.
Index ¶
Constants ¶
View Source
const (
DeviceName = "Zaparoo"
)
Variables ¶
This section is empty.
Functions ¶
func NewGamepad ¶
NewGamepad returns a uinput virtual gamepad device. It must be closed when the service stops.
func NewKeyboard ¶
NewKeyboard returns a uinput virtual keyboard device. It must be closed when the service stops.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package gamepadmap holds the ZapScript gamepad button names and the raw evdev button codes they resolve to.
|
Package gamepadmap holds the ZapScript gamepad button names and the raw evdev button codes they resolve to. |
Click to show internal directories.
Click to hide internal directories.