diff --git a/src/SDL2.cs b/src/SDL2.cs index 95efc46..3f1ff07 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -4219,7 +4219,7 @@ namespace 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)]