Swap keyup for keydown