java - Distinguish between Two USB Connected Keyboards using [Caps-Lock] -


i trying differentiate input between 2 keyboards connected computer. java program needs able distinguish between two. original solution have 1 keyboard caps-lock enabled while other not.

this worked when testing on mac osx. when attempted run same program on ubuntu, notice turning caps-lock on enables connected keyboards.

i can no longer distinguish between two. suggestions?

from os perspective there "one keyboard". 1 keyboard receiving events number of actual keyboards. distinguish keyboards bypassing regular keyboard input , go directly registered usb devices. found this....

http://nanlee.wordpress.com/2013/06/12/manykeyboard-using-java-hid-api-to-handle-multiple-keyboard-input/


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -