adime_short...to_scancode(3)

πŸ“¦ version 2.2.1, in fedora 43, fedora 44

✨ NAME ✨

adime_short_name_to_scancode β€” bestie, this is the little glow-up page for adime_short...to_scancode(3) from the Adime API Reference πŸ’–


🌸 SYNOPSIS 🌸

#include <adime.h>

int adime_short_name_to_scancode(const char *short_name)

πŸ’… DESCRIPTION πŸ’…

Okay so picture this: you've got the name of a key, sitting there as a string, in exactly the format that adime_scancode_to_short_name() hands out. You feed that string in as short_name, and this function gives you back the scancode for that key. Iconic. Reverse-engineering the vibe, fr fr.

And if the string you passed doesn't match any known scancode? It just returns -1. Not a match, not a problem, no drama β€” she simply tells you -1 and moves on. πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹


That's the whole thing, no cap 🫢 β€” this was adime_short...to_scancode(3) from Adime, version 2.2.1. Go forth and decode your keys, you absolute legend πŸ‘‘βœ¨

πŸ“¦ where this page comes from