GameShell’s Keypad arduino code.
https://github.com/clockworkpi/GameShellDocs/blob/master/clockwork_Keypad_Schematic.pdf