Reputation: 11075
I want to monitor whether a device has been attached to my computer. I can monitor it at Control Panel\Hardware and Sound\Devices and Printers. But how can I get this info in my Java code? The device is been attached with USB port and it's a keyboard and mouse simulator. I use it to remote control other computer
Upvotes: 0
Views: 152
Reputation: 6570
you need some native libraries to do that. try
http://code.google.com/p/javahidapi
Upvotes: 2