I want to create a log of keypresses in C#. I found keymousehook but I don't get how to use it. I couldn't find a comprehensive guide or a blog post.
The documentation isn't really helpful either. What is the absolute minimum code to detect keypresses? Can it be used in a Console Application?
You might have a look at. This could be used in a console application.
https://github.com/twenzel/SurfacePenNavigator/blob/master/SurfacePenNavigator/KeyboardHook.cs