Fix SDL_GetKeyFromScancode signature.
This commit is contained in:
parent
67f4c81bb3
commit
713e25ab96
@ -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)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user