The computer keyboard is the most fundamental input device ever created for personal computing. It operates by converting physical key presses into digital signals through one of several switch mechanisms, then transmitting those signals to the host computer via a standardized communication protocol. At the hardware level, every key press closes an electrical circuit. The keyboard's internal microcontroller — typically an 8-bit or 32-bit ARM processor — continuously scans the key matrix at rates between 125Hz and 8000Hz, detecting which row-column intersections are closed. When a closure is detected, the controller generates a scancode unique to that physical key position and transmits it to the operating system via HID (Human Interface Device) protocol over USB, Bluetooth, or the legacy PS/2 interface. The OS keyboard driver translates the scancode into a virtual key code, then into a Unicode character based on the active keyboard layout (QWERTY, AZERTY, Dvorak, Colemak, etc.). This two-layer translation means the same physical keyboard can type in any language by switching the software layout without changing any hardware. Key matrix ghosting is a critical limitation of older designs: when three keys form an L-shape in the matrix, a phantom fourth keypress can be falsely reported. N-key rollover (NKRO) solves this by giving every key its own dedicated detection line, allowing up to all keys to be pressed simultaneously without conflict — critical for gaming and fast typing. Switch actuation force, pre-travel distance, and tactile feedback all affect typing speed and fatigue. Professional typists often prefer 45–55g actuation force. Gamers often prefer linear switches with shorter actuation distances (1.2–1.5mm) for faster response. Ergonomists recommend split designs that keep wrists in neutral pronation to prevent repetitive strain injury. The keycap profile (SA, DSA, Cherry, OEM) determines the angle and height of each row, affecting how fingers naturally fall across the keyboard. High-profile SA keycaps give a retro typewriter feel; low-profile keycaps reduce finger travel and suit laptop-style typing. Doubleshot PBT keycaps are preferred for their durability — the legends are molded through the entire cap and never wear off.