mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-02-02 04:41:10 +00:00
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…
Reference in a new issue