add keyup/keydown functionality
Merge pull request #1 from skratchdot/keypress_feature

add keyup/keydown functionality