Split out key_up and key_down