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!
This is not possible with Java.
, . HID- - . , -down-. , .
, API RAW Windows, , , Raw Input # , API.
, , . , , , , , , . @nan , java-hid-api, . , .
, , , HIDManager null HID . open() HIDDeviceInfo. java hid api page, , , . , -, . , .
HIDManager
open()
HIDDeviceInfo