Get a key code from a human-readable name.
Defined in <SDL3/SDL_keyboard.h>
name | the human-readable key name |
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.0.0.