Why This Happens
A Basic Switch
All keys on a keyboard are just a switch.
When you press the button it connects two wires allowing any current to pass through them.
The bolded wires have current going through them. Where ╎ is to show an unpressed switch.
With this we can ...