ALLEGRO_EVENT_TYPE_IS_USER - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

#define ALLEGRO_EVENT_TYPE_IS_USER(t)        ((t) >= 512)

Description

A macro which evaluates to true if the event type is not a builtin event type, i.e. one of those described in ALLEGRO_EVENT_TYPE(3).

Referenced By

ALLEGRO_EVENT_TYPE(3), ALLEGRO_GET_EVENT_TYPE(3).

Allegro reference manual