THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
Get a key code from a human-readable name.
const char *name); SDL_Keycode SDL_GetKeyFromName(
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.
CategoryAPI, CategoryKeyboard, CategoryDraft