(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_SCANCODE_TO_KEYCODE

Please refer to SDL_Keycode for details.