Fixed keyboard input
Merge pull request #1 from vheuken/master

Fixed keyboard input.  Thanks for the pull request!