Fix SDL_GetScancodeFromKey signature
This commit is contained in:
parent
9a1f823bca
commit
818a5cb6e0
@ -4330,7 +4330,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…
x
Reference in New Issue
Block a user