How to Record Live Playing in Matinee

Could not find this answer anywhere.

I am not trying to export a Matinee as a movie (yet). I’m trying to have matinee record live gameplay events like a midi sequencer would record midi.

If not clear, imagine a game where you press the letter J and particle explodes. You press the letter L and another particle explodes and I want to be able to record me pressing those keys in a certain pattern. Then I want to do the same with the N and M keys. All this is recorded into Matinee so that when I play it back all four key pressed events are playing back. (Like a midi sequencer.)

Is this possible? Is matinee the right tool to be using?