This may be old news.You can record keypresses on the Real Speccy Emulator Via a format called an Air File.
Basically what this means is you can record your movements to the end of a game and watch it over and over again with the recording taking up only a few Kilobytes. This can also be a way of doing highscores competitions etc as it checks the
Z80 file is the same as the competition version to stop cheating. I wonder if this could be converted to other emulators. I have included the Url for you all to peruse of the emulator and some predone
game ends :-)
Complete solution Air Files & Extra Info
Enjoy, I did playing back the file at 10* speed
and watching the solution of Tir Na Nog.