Function sdl2_sys::SDL_GetKeyFromScancode
source ยท pub unsafe extern "C" fn SDL_GetKeyFromScancode(
scancode: SDL_Scancode,
) -> SDL_Keycode
Expand description
Get the key code corresponding to the given scancode according to the current keyboard layout.
See SDL_Keycode for details.
\param scancode the desired SDL_Scancode to query \returns the SDL_Keycode that corresponds to the given SDL_Scancode.
\since This function is available since SDL 2.0.0.
\sa SDL_GetKeyName \sa SDL_GetScancodeFromKey