File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,8 @@ interface
106
106
{ $I SDL_joystick.inc} // 3.1.6-prev
107
107
{ $I SDL_gamepad.inc} // 3.2.0
108
108
{ $I SDL_haptic.inc} // 3.2.0
109
- { $I SDL_pen.inc} // 3.1.6-prev
110
109
{ $I SDL_touch.inc} // 3.1.6-prev
110
+ { $I SDL_pen.inc} // 3.2.20
111
111
{ $I SDL_camera.inc} // 3.1.6-prev
112
112
{ $I SDL_events.inc} // 3.2.20
113
113
{ $I SDL_init.inc} // 3.2.20
Original file line number Diff line number Diff line change 32
32
* consistent as long as SDL can recognize a tool to be the same pen; but if a
33
33
* pen physically leaves the area and returns, it might get a new ID.
34
34
*
35
- * \since This datatype is available since SDL 3.1.3 .
35
+ * \since This datatype is available since SDL 3.2.0 .
36
36
}
37
37
type
38
38
PPSDL_PenID = ^PSDL_PenID;
39
39
PSDL_PenID = ^TSDL_PenID;
40
40
TSDL_PenID = cuint32;
41
41
42
+ const
43
+ {*
44
+ * The SDL_MouseID for mouse events simulated with pen input.
45
+ *
46
+ * \since This macro is available since SDL 3.2.0 .
47
+ *}
48
+ SDL_PEN_MOUSEID = TSDL_MouseID(-2 );
49
+
50
+ {*
51
+ * The SDL_TouchID for touch events simulated with pen input.
52
+ *
53
+ * \since This macro is available since SDL 3.2.0 .
54
+ *}
55
+ SDL_PEN_TOUCHID = TSDL_TouchID(-2 );
56
+
42
57
{*
43
58
* Pen input flags, as reported by various pen events' `pen_state` field.
44
59
*
45
- * \s ince This datatype is available since SDL 3.1.3 .
60
+ * \s ince This datatype is available since SDL 3.2.0 .
46
61
}
62
+ type
47
63
PPSDL_PenInputFlags = ^PSDL_PenInputFlags;
48
64
PSDL_PenInputFlags = ^TSDL_PenInputFlags;
49
65
TSDL_PenInputFlags = cuint32;
70
86
*
71
87
* `SDL_sinf(xtilt * SDL_PI_F / 180.0)`.
72
88
*
73
- * \s ince This enum is available since SDL 3.1.3
89
+ * \s ince This enum is available since SDL 3.2.0.
74
90
}
75
91
type
76
92
PPSDL_PenAxis = ^PSDL_PenAxis;
You can’t perform that action at this time.
0 commit comments