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