From 818a5cb6e08087956e899cedb4f9c998b299957b 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 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)]