getScanCodeFromKey method
Get the scancode corresponding to the given key code according to the current keyboard layout.
Implementation
ScanCode getScanCodeFromKey(final KeyCode key) =>
sdl.SDL_GetScancodeFromKey(key.toSdlValue()).toScanCode();