diff --git a/Source/OpenTK/Platform/SDL2/sdl2-cs/src/SDL2.cs b/Source/OpenTK/Platform/SDL2/sdl2-cs/src/SDL2.cs index a54b0d57..e4c3a348 100644 --- a/Source/OpenTK/Platform/SDL2/sdl2-cs/src/SDL2.cs +++ b/Source/OpenTK/Platform/SDL2/sdl2-cs/src/SDL2.cs @@ -4047,11 +4047,11 @@ namespace OpenTK.Platform.SDL2 * with the current keyboard layout. */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void SDL_GetKeyFromScancode(SDL_Scancode scancode); + public static extern SDL_Keycode SDL_GetKeyFromScancode(SDL_Scancode scancode); /* Get the scancode for the given keycode */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void SDL_GetScancodeFromKey(SDL_Keycode key); + public static extern SDL_Scancode SDL_GetScancodeFromKey(SDL_Keycode key); /* Wrapper for SDL_GetScancodeName */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]