linuxinput

package
v2.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

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

func NewGamepad() (uinput.Gamepad, error)

NewGamepad returns a uinput virtual gamepad device. It must be closed when the service stops.

func NewKeyboard

func NewKeyboard() (uinput.Keyboard, error)

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.

Jump to

Keyboard shortcuts

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