al_get_key...ent_source(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

✨ 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