Function scancodeToKeycode

Wraps SDL_GetKeyFromScancode which gets the dsdl2.Keycode from a dsdl2.Scancode

Keycode scancodeToKeycode (
  Scancode scancode
) @trusted;

Parameters

NameDescription
scancode the dsdl2.Scancode enumeration

Returns

dsdl2.Keycode equivalent