Allegro 5 api
#include <allegro5/allegro.h> ALLEGRO_EVENT_SOURCE *al_get_keyboard_event_source(void)
Retrieve the keyboard event source.
Returns NULL if the keyboard subsystem was not installed.