Made the input only listen on key down.