#pragma section-numbers off #pragma disable-camelcase || DRAFT|| = SDL_GetScancodeFromKey = Use this function to get the scancode corresponding to the given key code according to the current keyboard layout. <> == Syntax == {{{#!highlight cpp SDL_Scancode SDL_GetScancodeFromKey(SDL_Keycode key) }}} == Function Parameters == ||'''key'''||the desired [[SDL_Keycode]] to query|| == Return Value == Returns the [[SDL_Scancode]] that corresponds to the given [[SDL_Keycode]]. == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == See [[SDL_Scancode]] for details. == Related Functions == .[[SDL_GetKeyFromScancode]] .[[SDL_GetScancodeName]] ---- [[CategoryAPI]], [[CategoryKeyboard]]