Get a key code from a human-readable name.
Defined in 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 2.0.0.