سؤال

I need to connect more than one keyboard/mouse with a single computer. Manymouse library can identify different mouses, but is there a library which can identify different keyboards?

I mean, when I press Key "E", the program can tell me which keyboard the KeyPress event is from. With C#, the SDGToolkit can do it, is there something in the Java world or C world, which supports all OS just as Manymouse does? I am more interested in Mac and Linux solution.

هل كانت مفيدة؟

المحلول

Know the solution. I can use a hid library to detect different keyboard. Here is an explanation : http://nanlee.wordpress.com/2013/06/12/manykeyboard-using-java-hid-api-to-handle-multiple-keyboard-input/

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top