is it possible to read keyboard inputs without always having my console application focused? I would like to do something with a button without always going to the console.
Doesn't that somehow work with events? Unfortunately I only found unsightly solutions with Forms.
This solution from @Siarhei Kuchuk didn't help me either: Global keyboard capture in C# application
The OnKeyPressed event is activated but is not triggered.
Does somebody has any idea?