Input display

Is there any emulator or maybe a patch, which could display user inputs?

Maybe a USB key logger?

I’m a ps/2 kb player or just play on my laptop.
I hope there is smth similar to tekken practice mode, where your inputs are displayed.