diff --git a/src/SDL2.cs b/src/SDL2.cs index 95efc466..3f1ff07e 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -4219,7 +4219,7 @@ public struct SDL_Keysym * 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)]