Update InputManager when a key is hold