al_get_event_source_data
intptr_t al_get_event_source_data(const ALLEGRO_EVENT_SOURCE *source)
Introduced in 5.0.0
Returns the abstract user data associated with the event source. If no data was previously set, returns NULL.
See also: al_set_event_source_data