Is it possible to have a Java program read the keyboard buttons pressed all the time, even when I'm typing in notepad or chrome?
If so, how would I do this?
Is it possible to have a Java program read the keyboard buttons pressed all the time, even when I'm typing in notepad or chrome?
If so, how would I do this?
You cannot do that in plain JAVA. you would need to hook up with JNI. you need to listen to the keyboard from the OS level.