diff --git a/SDL3-CS/SDL3/SDL_keycode.cs b/SDL3-CS/SDL3/SDL_keycode.cs deleted file mode 100644 index fef36b9..0000000 --- a/SDL3-CS/SDL3/SDL_keycode.cs +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. -// See the LICENCE file in the repository root for full licence text. - -using System; - -namespace SDL -{ - [Typedef] - public enum SDL_Keycode : Int32; -} diff --git a/SDL3-CS/generate_bindings.py b/SDL3-CS/generate_bindings.py index 0144ad9..a80402f 100644 --- a/SDL3-CS/generate_bindings.py +++ b/SDL3-CS/generate_bindings.py @@ -216,6 +216,7 @@ base_command = [ "void*=IntPtr", "char=byte", "wchar_t *=IntPtr", # wchar_t has a platform-defined size + typedef("SDL_Keycode"), "--define-macro", "SDL_FUNCTION_POINTER_IS_VOID_POINTER",