restore keyup/keydown for character keys