Recording user input for playback.