diff --git a/src/SDL2.cs b/src/SDL2.cs index 8c833bb..e6264bf 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -4330,7 +4330,7 @@ namespace SDL2 /* 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)]