Skip to content

Commit

Permalink
Merge pull request flibitijibibo#55 from IntelOrca/master
Browse files Browse the repository at this point in the history
Fix SDL_GetKeyFromScancode signature.
  • Loading branch information
flibitijibibo committed Mar 26, 2014
2 parents 67f4c81 + 713e25a commit e8731ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDL2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4219,7 +4219,7 @@ public struct SDL_Keysym
* 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)]
Expand Down

0 comments on commit e8731ef

Please sign in to comment.