Get a scancode from a human-readable name.
Defined in SDL_keyboard.h
name | the human-readable scancode name |
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.