From 471b3f965862f95b0b48b338f20a00c8f505d6d4 Mon Sep 17 00:00:00 2001 From: David Barnett Date: Sun, 26 Oct 2014 15:36:18 +1300 Subject: [PATCH] Fix SDL_GetScancodeFromKey signature --- src/SDL2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index 65d34b6..5274c00 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -4294,7 +4294,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)]