Get a scancode from a human-readable name.
Defined in SDL_keyboard.h
SDL_Scancode SDL_GetScancodeFromName(const char *name);| const char * | name | the human-readable scancode name. |
(SDL_Scancode) Returns the SDL_Scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognized; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.