Keyboards work by using a physical interface to translate the pressure of keystrokes into computer code. Each keystroke activates an electrical contact beneath it and sends a corresponding signal that moves through the circuitry on the keyboard to register with the central processing unit (CPU), typically located in another distant part of your computer ’ usually in the back of your desktop.
Keyboards typically have two panels, one on top of the other. The lower panel is made up of a rubber or silicone dome allowed with metal contacts underneath each key. A flexible metal circuit board sits behind them and connects upward through small holes punched out from between keys horizontally or vertically like channels like between subway stops for connecting trains running perpendicular to one another at corresponding heights and separates.