keypress -> keyup and keydown