https://aruneworld.com/embedded/8051-mcu/8051-interface/8051-interface-keypad/
8051 Interface - Keypad