Records the joystick input and then replays them