aa_kbddrivers(3)

πŸŽ€ aa_kbddrivers πŸŽ€

okay so bestie, welcome to aa_kbddrivers(3), straight outta the Library Functions Manual πŸ’– this is the page about the keyboard-driver roster in AA_lib, and it is honestly so short you could read it while your ramen cooks. but we're gonna give it the main character treatment anyway, because that's just who we are. periodt. πŸ’…


✨ NAME ✨

aa_kbddrivers β€” a NULL-terminated array of the keyboard drivers that are available in AA_lib. that's it. that's the whole vibe. it's giving "list of keyboard drivers, but make it a global". πŸ¦‹


🌈 SYNOPSIS 🌈

#include <aalib.h>

extern const struct aa_kbddriver *const aa_kbddrivers[];

like, yes, you include <aalib.h>, and then boom πŸ’₯ there it is β€” an extern const array of pointers to const struct aa_kbddriver, and the array itself is const too. double const. double iconic. no cap. πŸ‘‘


πŸ’œ DESCRIPTION πŸ’œ

A NULL-terminated array of the keyboard drivers available in AA_lib. 🫢

that's the entire description, bestie, they really said "we'll say it twice and you'll deal with it". the NAME section said it, the DESCRIPTION said it again, and honestly? consistency. we love a page that knows exactly what it is. the key word here is NULL-terminated β€” the list doesn't carry a count, it just walks along until it hits a NULL and goes "okay we're done here, bye πŸ‘‹". so don't be out here indexing past the end, iykyk. 😭


πŸ‘‘ SEE ALSO πŸ‘‘

this section is long. like, "her playlist is four hours" long. every single one of these is a real page, and we are not skipping a single one, because we are thorough and also a little bit extra: πŸ’…

like okay go read those, they're your besties too. πŸ“šβœ¨


🌸 quick reminder bestie: the array is NULL-terminated, so you loop until you hit that NULL and then you stop. no wild pointer nonsense, we're not doing that today. πŸ™ˆ

and that's the page!! short, sweet, and absolutely ate. this lil gem came to you courtesy of c2man off of aalib.h, dated 8 September 1999 β€” yeah she's vintage, she's a classic, she's still serving πŸ’– mwah, love u, go read aa_drivers(3) next 🫢✨