Java Separate input of two separate keyboards

I have two USB keyboards connected to the same machine. I am developing a Java application. Is there anyway to let the Java application separate the USB keyboard from this? (For example, there is something like http://docs.oracle.com/javase/6/docs/api/java/awt/event/KeyEvent.html , but with a USB parameter so that I can find out which USB- devices did he come?)

Thank!

+5
source share
2 answers

This is not possible with Java.

, . HID- - . , -down-. , .

, API RAW Windows, , , Raw Input # , API.

+5

, , . , , , , , , . @nan , java-hid-api, . , .

, , , HIDManager null HID . open() HIDDeviceInfo. java hid api page, , , . , -, . , .

+4

All Articles