al_uninstall_mouse(3alleg5)
π al_uninstall_mouse β from the 3alleg5 manual, bestie π
okay so you're in the 3alleg5 manual and you found this page, and honestly? iconic of you. welcome. π
β¨ NAME β¨
al_uninstall_mouse β it's part of the Allegro 5 API, and yes it does exactly what it sounds like ππ
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
void al_uninstall_mouse(void)
that's it. no args. no return value. she's low maintenance fr fr π«Ά
π¦ DESCRIPTION π¦
So, bestie, what this does is uninstall the active mouse driver β if any is currently installed. If there isn't one hanging around? cool, nothing to do, no drama. π
The way that this also automatically unregisters the mouse event source with any event queues β like, it handles the cleanup for you, you don't gotta go chasing down your event queues and unhooking stuff yourself. she does it. main character energy, honestly. β¨π
And here's the cute part that saves you from ever forgetting: this function is automatically called when Allegro is shut down. so like, Allegro's got your back on the way out the door. πͺπ
no cap β you usually don't have to call this yourself, but it's there if you want to uninstall the mouse driver before you shut everything down. π
π SEE ALSO π
(nothing extra on this page, bestie β this one's a solo act π)
and that's the whole vibe check, fr fr. this page came straight out of the Allegro reference manual β mwah, go uninstall that mouse driver 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