al_get_keyboard_event_source - Man Page
Allegro 5 API
Synopsis
#include <allegro5/allegro.h> ALLEGRO_EVENT_SOURCE *al_get_keyboard_event_source(void)
Description
Retrieve the keyboard event source. All [keyboard events]ALLEGRO_EVENT_KEY_DOWN(3) are generated by this event source.
Returns NULL if the keyboard subsystem was not installed.
Info
Allegro reference manual