Allegro 5 api
#include <allegro5/allegro.h> bool al_install_joystick(void)
Install a joystick driver, returning true if successful. If a joystick driver was already installed, returns true immediately.
al_uninstall_joystick(3alleg5)