File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,6 @@ public enum SDL_PenAxis
39
39
40
40
public static partial class SDL3
41
41
{
42
- [ NativeTypeName ( "#define SDL_PEN_MOUSEID ((SDL_MouseID)-2)" ) ]
43
- public const SDL_MouseID SDL_PEN_MOUSEID = ( ( SDL_MouseID ) ( - 2 ) ) ;
44
-
45
- [ NativeTypeName ( "#define SDL_PEN_TOUCHID ((SDL_TouchID)-2)" ) ]
46
- public const SDL_TouchID SDL_PEN_TOUCHID = ( ( SDL_TouchID ) ( - 2 ) ) ;
47
-
48
42
[ NativeTypeName ( "#define SDL_PEN_INPUT_DOWN (1u << 0)" ) ]
49
43
public const uint SDL_PEN_INPUT_DOWN = ( 1U << 0 ) ;
50
44
Original file line number Diff line number Diff line change @@ -20,4 +20,13 @@ public enum SDL_PenInputFlags : UInt32
20
20
SDL_PEN_INPUT_BUTTON_5 = SDL3 . SDL_PEN_INPUT_BUTTON_5 ,
21
21
SDL_PEN_INPUT_ERASER_TIP = SDL3 . SDL_PEN_INPUT_ERASER_TIP ,
22
22
}
23
+
24
+ public static partial class SDL3
25
+ {
26
+ [ Constant ]
27
+ public const SDL_MouseID SDL_PEN_MOUSEID = unchecked ( ( SDL_MouseID ) ( - 2 ) ) ;
28
+
29
+ [ Constant ]
30
+ public const SDL_TouchID SDL_PEN_TOUCHID = unchecked ( ( SDL_TouchID ) ( - 2 ) ) ;
31
+ }
23
32
}
You can’t perform that action at this time.
0 commit comments