Catch all Usb hid keyboard data

I want to be able to capture all data from a usb hid keyboard through a java application and also that this keystrokes don’t be read by windows. Is that possible to do using jinput?

If i’m not wrong then all devices are going through the operating system and java application just listens for the windows events.

But what I want is that the keystrokes from a determined usb hid keyboard get catched before they arrive to the application that have the actual focus.

JInput will catch the events, depending on the plugin, this may include windows not in focus. It doesn’t provide a mechanism for stopping any further processing by the OS though, if thats what you wanted.

HTH

Endolf