re-add ctrl_routine for keyboard/keypad