Apex › Hardware

How a keystroke reaches the screen

The whole stack in one journey. Press a key and it crosses the key matrix (a scancode), a hardware interrupt, the OS keymap and event queue, the focused app’s event loop, and finally rasterization into the framebuffer that the display scans out. A narrated walk through all five stages, then press the key yourself and follow the signal — with the latency it gathers at each hop.

More in Hardware