How a Key Matrix Works Here is a concise introduction to how a keyboard matrix works along with a demonstration of rollover and ghosting.