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
106106{ $I SDL_joystick.inc} // 3.1.6-prev
107107{ $I SDL_gamepad.inc} // 3.2.0
108108{ $I SDL_haptic.inc} // 3.2.0
109- { $I SDL_pen.inc} // 3.1.6-prev
110109{ $I SDL_touch.inc} // 3.1.6-prev
110+ { $I SDL_pen.inc} // 3.2.20
111111{ $I SDL_camera.inc} // 3.1.6-prev
112112{ $I SDL_events.inc} // 3.2.20
113113{ $I SDL_init.inc} // 3.2.20
Original file line number Diff line number Diff line change 3232 * consistent as long as SDL can recognize a tool to be the same pen; but if a
3333 * pen physically leaves the area and returns, it might get a new ID.
3434 *
35- * \since This datatype is available since SDL 3.1.3 .
35+ * \since This datatype is available since SDL 3.2.0 .
3636 }
3737type
3838 PPSDL_PenID = ^PSDL_PenID;
3939 PSDL_PenID = ^TSDL_PenID;
4040 TSDL_PenID = cuint32;
4141
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+
4257{*
4358 * Pen input flags, as reported by various pen events' `pen_state` field.
4459 *
45- * \s ince This datatype is available since SDL 3.1.3 .
60+ * \s ince This datatype is available since SDL 3.2.0 .
4661 }
62+ type
4763 PPSDL_PenInputFlags = ^PSDL_PenInputFlags;
4864 PSDL_PenInputFlags = ^TSDL_PenInputFlags;
4965 TSDL_PenInputFlags = cuint32;
7086 *
7187 * `SDL_sinf(xtilt * SDL_PI_F / 180.0)`.
7288 *
73- * \s ince This enum is available since SDL 3.1.3
89+ * \s ince This enum is available since SDL 3.2.0.
7490 }
7591type
7692 PPSDL_PenAxis = ^PSDL_PenAxis;
You can’t perform that action at this time.
0 commit comments