Disconect and connect again one joystick

hello,

I want to know if the problem of detecting one joystick connection “on-the-fly” is already solved ?

(in my application if the joystick gets out of the usb port I have to restart the application so I can detect the joystick again)
Iam controlling vehicles on the watter (with a laptop) and if the joystick is disconnected accidentally I may lose the vehicle because the aplication takes some time to restart…

Thanks,
Rui

Rui,

see my post one level up. I just figured it out this morning.

Ok thanks I will have to adapt my code. I am also applying it for military purposes…

Wow, the military does love Java + external controllers :stuck_out_tongue: