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