ALLEGRO_USER_EVENT
typedef struct ALLEGRO_USER_EVENT ALLEGRO_USER_EVENT;
Introduced in 5.0.0
An event structure that can be emitted by user event sources. These are the public fields:
- ALLEGRO_EVENT_SOURCE *source;
- intptr_t data1;
- intptr_t data2;
- intptr_t data3;
- intptr_t data4;
See also: al_emit_user_event
Examples: ex_user_events
Most helpful discussions: