pub unsafe extern "C" fn SDL_GetKeyFromName(
    name: *const c_char
) -> SDL_Keycode
Expand description

Get a key code from a human-readable name.

\param name the human-readable key name \returns key code, or SDLK_UNKNOWN if the name wasn’t recognized; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_GetKeyFromScancode \sa SDL_GetKeyName \sa SDL_GetScancodeFromName