My aim is to record my keys events during game session so i can't modify directly my game... It's not really to make a cheat or something else. It's just for improve my reactions in some situations and know what is the better way to make the best combo (timer, etc.)
I would like make something like in OSU! when you watch a replay.
I know it's possible but actually I must have my program in the foreground of my screen, not my game...