Option to capture keyboard input shortcuts (eg. CTRL +A, CTRL + D) and add it to frame.
The question is where to show it? Center, with opacity?
I was thinking about recording the key strokes and giving the option to add as overlay with customizations.
Yes, this would be an awesome feature.
Recording mouse-clicks is already great, but keys are also quite important for tutorial-type recordings.
I'd like to show all key-presses with their duration:
eg. show key representations along the bottom of the screen. Show each key from the moment on it is pressed, add more keys next to it as combinations are pressed, remove each as the key is released.
To reasonably show also very short key-presses, some kind of fade-effect would be needed, but i guess that's obvious for @NickeManarin, as you have already done this for the click-events?
PS:
Only left-clicks are currently recorded.
Even though seldom, some cases might need to indicate right-clicks too...
@sirtet Yeah, that's a problem, but mouse clicks are recorded during each frame capture.
Also, if you press two keys between the capture of one frame, I have to show both keys

Almost there...
great!
Some Ideas:
1.
Did you try to display bottom-left instead of centered?
I think it will be more readable, now characters are moving when more are pressed...
Having them left, they would only move if earlyer-pressed ones are released.
Or keys could maybe keep their position, leaving blanks for released keys? This would probably work for most cases, as pressing many keys at the same time is quite rare.
2.
I would not comma-separate, but give them a background (same as mouse-click?).
Pressing the comma- key would currently look... how?
Pressing keys with longer names like __ctrl__ would currently look how?
Did you try to display bottom-left instead of centered?
There's a lot of options, like a Caption, + background. :)
Or keys could maybe keep their position, leaving blanks for released keys? This would probably work for most cases, as pressing many keys at the same time is quite rare.
Or make them go upwards? I think this could be an option.
I would not comma-separate, [...]
Nice! It needs to be customizable, so you could use any text as separator. This would enable the keys to go upwards by using a new line as separator. I also should add an option to block how many keys can appear at the same time.
but give them a background (same as mouse-click?).
This feature has the same properties as the Caption + a background option.
Pressing the comma- key would currently look... how?
Special keys are still being displayed as their internal names, such as Oemcomma. I have to fix this. Should be easy to convert to text. I'm not sure if someone would benefit from using the internal name instead.
Pressing keys with longer names like ctrl would currently look how?
Modifier keys are attached as their internal names too, with a '+' sign before the normal keys. I have to polish this too, to accept multiple modifiers.

I believe that's it.
Wow, looks nice.
I thought, that maybe it could be useful if there was a visible difference between the actual key press duration, and the added delay.
But that could be added later if really needed, right?
Right now I'm not capturing the real duration of the key press, I'm just capturing the keys between frame number 1 and frame number 2.
With that in mind, I did start to implement a viewer/editor to view/edit the keys before applying. So, yes, possible and future feature.
Great work! 馃憤
Could you please add some filters such as "ignore single modifier key", "only capture key chords"?
And it could be better to add fade-effect, I guess that will decrease opacity per frame?
If you've landed on this issue from a google search and can't figure out how to use this feature:
How to display the pressed keys should go into the FAQ page 馃槉
Hello guys
If I good understand keystroke recording is possible but I didn't find where. I've installed the very latest version of ScreenToGif (2.23.1) and, when starting the recording, I didn't find "Key Strokes" on the screen. Am I missing something ?
Thanks !
@cavo789 Read the comment made by Hughes.
Hello
Better this morning... I've found where to make it happens.
Have read more than once the last comment of Hughes (thanks) but has missing the last and very important part: after recording
So, starting the recording already capture keystrokes.
But we need to "show" them once the recording has been ended. And, to do this, after recording we need to go to the Image tab, click on the Key Strokes and click on Apply to make key strokes visible on the captured gif.
Thanks NickeManarin.
(note: did't find in the FAQ how to, seems the page is missing)
@cavo789 Yes, the wiki is imcomplete.
@NickeManarin Really no worries, your tool is really, really, really! nice and so much useful.
Now, I know where is the Keystrokes feature ;-)
Thank you Nicke.
Most helpful comment
If you've landed on this issue from a google search and can't figure out how to use this feature: