I need to detect that joystick is unplugged during runtime.
Using C++ Borland builder 5 enterprise edition.
used windows api.
Referred to http://plib.sourceforge.net/js/index.html
Right now joystick once detected, it remains as plugged even though in the midst of the application i unplug the joystick.
Goal: Is to stop processing the joystick code when joystick is unplugged.
Thanks in advance for any help