al_uninstall_touch_input(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_uninstall_touch_input β€” the Allegro 5 API call that packs up your touch input driver and sends it home πŸŽ€

(also, hi bestie, this page lives in the allegro5 manual, section 3, so like... it's giving library function energy πŸ’…)


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

void al_uninstall_touch_input(void)

πŸ’– DESCRIPTION πŸ’–

okay so picture this: you've got a touch input driver up and running, living its best life, and now you wanna shut it down. That's literally what al_uninstall_touch_input does β€” it uninstalls the active touch input driver. bye bestie, you ate 🫢

But here's the chill part: if there was no touch input driver active at all? Nothing happens. It just does nothing. No crash, no drama, no main character meltdown. It's a no-op. lowkey iconic honestly 😌

πŸ’‘ also very important: this function gets called automatically when Allegro is shut down. So Allegro's got your back and does the cleanup for you β€” you don't have to call it yourself, but the option is there, and that's on autonomy ✨

⭐ SINCE ⭐

5.1.0 β€” so it's been around a minute, it's a classic, a legend, no cap πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹


Allegro reference manual 🌈 and yep, this page itself is al_uninstall_touch_input(3alleg5) β€” that's the vibe, that's the whole thing, periodt πŸ’œβœ¨

πŸ“¦ where this page comes from