Re:Making My Own USB Keyboard from Scratch
by brokenmachine on Sunday February 17, 2019 @07:19PM
(#19187786)
If every key has a diode then you won't get ghost keys.
That's how NKRO keyboards work.
That's how NKRO keyboards work.
What I learned during that prank was that keyboards are very complicated. A keyboard is essentially a giant switching system where pressing keys closes circuits, and a microprocessor looks to see what lines are high/low and infers which keys have been pressed. There's whole systems designed around avoiding "ghost keys", which arise because the number of combinations of possible simultaneous button presses of the switching system far outnumber the possible combinations of signals.