⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module input_event

Module input_event 

Source
Expand description

Unified input event subsystem.

Collects keyboard and mouse input into a single event stream using a Linux-compatible event structure. User-space reads events via sys_input_read().

Structs§

InputEvent
Input event structure (ABI-stable for user space).

Constants§

BTN_LEFT
Mouse button codes (Linux BTN_* values).
BTN_MIDDLE
BTN_RIGHT
EV_ABS
EV_KEY
Input event types (Linux evdev compatible).
EV_REL
REL_X
Relative axis codes.
REL_Y

Functions§

poll_all
Poll all input sources and convert to input events.
push_event
Push an input event into the global event queue.
read_event
Read the next input event from the queue.