Get a scancode from a human-readable name.
Defined in <SDL3/SDL_keyboard.h>
const char *name); SDL_Scancode SDL_GetScancodeFromName(
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 not thread safe.
This function is available since SDL 3.1.3.