Updated walking to use InputManager