Good afternoon...

I need to build a little and simple java program that can detect an input on a usb device.

I mean:
I i have an usb joystick and I don't know if it works or not and so I want...