Get a key code from a human-readable name.
Defined in <SDL3/SDL_keyboard.h>
const char *name); SDL_Keycode SDL_GetKeyFromName(
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 available since SDL 3.1.3.