mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-11 06:45:39 +00:00
Merge pull request #73 from zyphrus/master
Fix SDL_GetScancodeFromKey signature
This commit is contained in:
commit
7386579667
|
@ -4294,7 +4294,7 @@ namespace SDL2
|
||||||
|
|
||||||
/* Get the scancode for the given keycode */
|
/* Get the scancode for the given keycode */
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[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 */
|
/* Wrapper for SDL_GetScancodeName */
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
|
Loading…
Reference in a new issue