al_uninstall_joystick

void al_uninstall_joystick(void)
Introduced in 5.0.0

Uninstalls the active joystick driver. All outstanding ALLEGRO_JOYSTICK structures are invalidated. If no joystick driver was active, this function does nothing.

This function is automatically called when Allegro is shut down.

See also: al_install_joystick


Most helpful discussions: