keypad input manager