Allegro 5 api
#include <allegro5/allegro.h> void al_uninstall_joystick(void)
Uninstalls the active joystick driver. All outstanding ALLEGRO_JOYSTICK(3alleg5) structures are invalidated. If no joystick driver was active, this function does nothing.
This function is automatically called when Allegro is shut down.
al_install_joystick(3alleg5)