By using particular IO scanning detection, the 5 IO Keypad takes only 5 IOs to control all of the onboard push buttons and joystick. 10 push buttons, 1 joystick (five positions), 5-bit interface.