Get a key code from a human-readable name.
Defined in <SDL3/SDL_keyboard.h>
SDL_Keycode SDL_GetKeyFromName(const char *name);| const char * | name | the human-readable key name. |
(SDL_Keycode) Returns key code, or SDLK_UNKNOWN if the name wasn't recognized; call SDL_GetError() for more information.
This function is not thread safe.
This function is available since SDL 3.2.0.