mirror of https://github.com/ppy/SDL3-CS.git
Fix SDL_Pen constants
This commit is contained in:
parent
e1fb215d12
commit
87b6598855
|
|
@ -39,12 +39,6 @@ namespace SDL
|
||||||
|
|
||||||
public static partial class SDL3
|
public static partial class SDL3
|
||||||
{
|
{
|
||||||
[NativeTypeName("#define SDL_PEN_MOUSEID ((SDL_MouseID)-2)")]
|
|
||||||
public const SDL_MouseID SDL_PEN_MOUSEID = ((SDL_MouseID)(-2));
|
|
||||||
|
|
||||||
[NativeTypeName("#define SDL_PEN_TOUCHID ((SDL_TouchID)-2)")]
|
|
||||||
public const SDL_TouchID SDL_PEN_TOUCHID = ((SDL_TouchID)(-2));
|
|
||||||
|
|
||||||
[NativeTypeName("#define SDL_PEN_INPUT_DOWN (1u << 0)")]
|
[NativeTypeName("#define SDL_PEN_INPUT_DOWN (1u << 0)")]
|
||||||
public const uint SDL_PEN_INPUT_DOWN = (1U << 0);
|
public const uint SDL_PEN_INPUT_DOWN = (1U << 0);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,13 @@ namespace SDL
|
||||||
SDL_PEN_INPUT_BUTTON_5 = SDL3.SDL_PEN_INPUT_BUTTON_5,
|
SDL_PEN_INPUT_BUTTON_5 = SDL3.SDL_PEN_INPUT_BUTTON_5,
|
||||||
SDL_PEN_INPUT_ERASER_TIP = SDL3.SDL_PEN_INPUT_ERASER_TIP,
|
SDL_PEN_INPUT_ERASER_TIP = SDL3.SDL_PEN_INPUT_ERASER_TIP,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static partial class SDL3
|
||||||
|
{
|
||||||
|
[Constant]
|
||||||
|
public const SDL_MouseID SDL_PEN_MOUSEID = unchecked((SDL_MouseID)(-2));
|
||||||
|
|
||||||
|
[Constant]
|
||||||
|
public const SDL_TouchID SDL_PEN_TOUCHID = unchecked((SDL_TouchID)(-2));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue