Implemented the long forgotten keyboard_lastkey