Eugene
Eugene

Reputation: 11075

How can I know that some devices have been connected with my computer?

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

Answers (1)

Leo
Leo

Reputation: 6570

you need some native libraries to do that. try

http://code.google.com/p/javahidapi

Upvotes: 2

Related Questions