Allegro 5 api
#include <allegro5/allegro.h> bool al_is_mouse_installed(void)
Returns true if al_install_mouse(3alleg5) was called successfully.