mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-09-29 04:02:26 +00:00
Merge pull request #55 from IntelOrca/master
Fix SDL_GetKeyFromScancode signature.
This commit is contained in:
commit
e8731efadb
|
@ -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