The computer keyboard is very simple. You push a key, and it puts a letter on the screen. But how does it work? When you push a key, the metal part connects 2 wires which allows a current to flow to the computer. The computer measures the voltage and transforms the amount of volts in to binary. The computer compiler reads the binary, and a letter appears on a screen. Very simple.