fix keypress on special keys and other events on characters
Merge pull request #28 from YuppY/fix-special-keypress

Fix keypress on special keys and keydown/keyup on characters