Merge pull request #73 from zyphrus/master

Fix SDL_GetScancodeFromKey signature
This commit is contained in:
Ethan Lee 2014-10-25 22:42:51 -04:00
commit 7386579667

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