Fix SDL_GetScancodeFromKey signature

This commit is contained in:
David Barnett 2014-10-26 15:36:18 +13:00
parent 818830fc3a
commit 471b3f9658

View File

@ -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)]