From 713e25ab964e0bd19c3be03b14a5ed6d0b209a7a Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Wed, 26 Mar 2014 13:14:21 +0000 Subject: [PATCH] Fix SDL_GetKeyFromScancode signature. --- src/SDL2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]