I've looked at so many articles and they all show how to check key events with a framework like Swing.
How can I check for key pressing in any context, regardless of the program being focused or not. I've heard you can possibly use JNI to do this, but I have no idea where to start. If anyone has some insight, it'd be much appreciated.