Is there a Java/C library which allows identify mu

2019-05-23 15:22发布

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.

1条回答
Fickle 薄情
2楼-- · 2019-05-23 15:54

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/

查看更多
登录 后发表回答