I might be too late to answer here since this question is an old one. But since I have been directed here when I was looking for the same requirement, I will mention a solution I found on another thread for the help of those who will be directed here in the future, seeking help for the same requirement. @nan has given a solution for this using the java-hid-api and you can find his answer here. He has also written a clear and step by step post on how to do it in his blog.
However I must say that I have tried this but still I haven't been successful at it as the HIDManager
returns null when trying to open the HID by either the path or the id. It is the same when tried to open()
using HIDDeviceInfo
. This issue is listed in the java hid api page too but it seems no one has been able to provide a working solution so far. So if there is anyone who has been able to bypass this issue. Please do share.