al_uninstall_keyboard(3alleg5)
β¨ al_uninstall_keyboard β¨
okay bestie, welcome to the Allegro 5 API corner of the allegro5 manual π this one is short, sweet, and honestly kind of a bop.
πΈ NAME πΈ
al_uninstall_keyboard β she's the Allegro 5 API function that says bye bye keyboard driver π
π¦ SYNOPSIS π¦
#include <allegro5/allegro.h>
void al_uninstall_keyboard(void)
no args, no return value, just vibes β¨
π DESCRIPTION π
okay so here's the tea β al_uninstall_keyboard uninstalls the active keyboard driver, if there is one. and "if any" is doing real work there β if there's no active keyboard driver, she's just chilling, no drama π
and the way that she does this? she will automatically unregister the keyboard event source with any event queues. literally handles it for you. main character energy, no notes π«Ά
also, plot twist: you don't even have to call her yourself most of the time, because this function is automatically called when Allegro is shut down. so she's the friend who cleans up the group chat after the party without being asked. iconic π
ngl if you're manually installing and uninstalling the keyboard driver mid-program, she's your girl. just know she takes the event source registration with her, fr fr.
π SEE ALSO π
al_install_keyboard(3alleg5)β the other half of this duo, the one who showed up first π
and that's the whole page, bestie, we ate and left no crumbs π
Allegro reference manual π al_uninstall_keyboard(3alleg5) β mwah, go uninstall responsibly πβ¨π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms