added support for pressing the 1... 9 buttons on the keyboard