Fix SDL_GetKeyFromScancode signature.

This commit is contained in:
IntelOrca 2014-03-26 13:14:21 +00:00
parent 67f4c81bb3
commit 713e25ab96

View file

@ -4219,7 +4219,7 @@ namespace SDL2
* with the current keyboard layout. * with the current keyboard layout.
*/ */
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [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 */ /* Get the scancode for the given keycode */
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]