Allegro 5 api
#include <allegro5/allegro.h> bool al_install_keyboard(void)
Install a keyboard driver. Returns true if successful. If a driver was already installed, nothing happens and true is returned.
al_uninstall_keyboard(3alleg5), al_is_keyboard_installed(3alleg5)