mirror of https://github.com/ppy/SDL3-CS.git
Remap `SDL_KeyCode` enum to `SDL_Keycode` typedef
This doesn't compile because of duplicate `SDL_Keycode` definition
This commit is contained in:
parent
7b8ea9767f
commit
7d9502ee82
|
|
@ -28,7 +28,7 @@ using static SDL.SDL_Scancode;
|
||||||
|
|
||||||
namespace SDL
|
namespace SDL
|
||||||
{
|
{
|
||||||
public enum SDL_KeyCode
|
public enum SDL_Keycode
|
||||||
{
|
{
|
||||||
SDLK_UNKNOWN = 0,
|
SDLK_UNKNOWN = 0,
|
||||||
SDLK_RETURN = '\r',
|
SDLK_RETURN = '\r',
|
||||||
|
|
|
||||||
|
|
@ -3,3 +3,7 @@
|
||||||
|
|
||||||
--with-attribute
|
--with-attribute
|
||||||
SDL_Keymod=Flags
|
SDL_Keymod=Flags
|
||||||
|
|
||||||
|
# Remap the C `SDL_KeyCode` enum to the `SDL_Keycode` typedef
|
||||||
|
--remap
|
||||||
|
SDL_KeyCode=SDL_Keycode
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue