Record and playback Mame input