add keydown event to game