Expand description
Input scheme : exposes raw keyboard and mouse events to userspace.
Mounted at /dev/input. Provides two virtual files:
/dev/input/kbd : raw keyboard scancodes (1 byte per event)
/dev/input/mouse : raw mouse events (7 bytes per event)
The scheme reads from the kernel-internal ring buffers (keyboard.rs, mouse.rs) which are filled by PS/2 and USB HID IRQ handlers. Layout translation and modifier state are handled in userspace by the Input Server.
Structsยง
Constantsยง
- KBD_
FILE_ ๐ID - File IDs for the two virtual input devices.
- MOUSE_
FILE_ ๐ID
Staticsยง
- NEXT_ID ๐