al_get_key...ent_source(3)
β¨ NAME β¨
al_get_keyboard_event_source β the Allegro 5 API bestie for getting the keyboard event source. This page is from the Allegro reference manual, and the header labels it al_get_key...ent_source(3) under the Library Functions Manual. Truncated title? iconic, honestly.
π SYNOPSIS π
#include <allegro5/allegro.h>
ALLEGRO_EVENT_SOURCE *al_get_keyboard_event_source(void)
π DESCRIPTION π
Okay so the whole job is: retrieve the keyboard event source. That's it. Main character energy, minimal drama. β¨
All keyboard events are generated by this event source β the reference links them as ALLEGRO_EVENT_KEY_DOWN(3), so that's the vibe. π¦
It returns NULL if the keyboard subsystem was not installed. No keyboard subsystem installed = no source, just NULL. Noted, bestie. π«Ά
That's the whole page, periodt. Signing off with source/version: Allegro reference manual, page al_get_key...ent_source(3). Date: the original footer didn't show one, so we're not making one up. π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms