ALLEGRO_EVENT_SOURCE(3)

ALLEGRO_EVENT_SOURCE3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
typedef struct ALLEGRO_EVENT_SOURCE ALLEGRO_EVENT_SOURCE;

Overview

An event source is any object which can generate events. For example, an ALLEGRO_DISPLAY can generate events, and you can get the ALLEGRO_EVENT_SOURCE pointer from an ALLEGRO_DISPLAY with al_get_display_event_source(3).

You may create your own “user” event sources that emit custom events.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.