Added keyboard support

The Keyboard now works as expected. Pressing or releasing a key does
exaclty the same as clicking a keybutton.