Get the scancode corresponding to the given key code according to the current keyboard layout.
Note that there may be multiple scancode+modifier states that can generate this keycode, this will just return the first one found.
the desired SDL_Keycode to query.
a pointer to the modifier state that would be used when the scancode generates this key, may be NULL.
The SDL_Scancode that corresponds to the given SDL_Keycode.
Threadsafety: This function is not thread safe.
SDL_GetKeyFromScancode SDL_GetScancodeName
See Implementation
Get the scancode corresponding to the given key code according to the current keyboard layout.
Note that there may be multiple scancode+modifier states that can generate this keycode, this will just return the first one found.