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§
- Input
Event - 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.