Skip to content

Commit cd15893

Browse files
committed
Sync SDL3 wiki -> header
[ci skip]
1 parent acbe863 commit cd15893

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

include/SDL3/SDL_pen.h

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,18 @@
2828
* handling, e.g., for input and drawing tablets or suitably equipped mobile /
2929
* tablet devices.
3030
*
31-
* To get started with pens, simply handle SDL_EVENT_PEN_* events. When a pen
32-
* starts providing input, SDL will assign it a unique SDL_PenID, which will
33-
* remain for the life of the process, as long as the pen stays connected.
31+
* To get started with pens, simply handle pen events:
32+
*
33+
* - SDL_EVENT_PEN_PROXIMITY_IN, SDL_EVENT_PEN_PROXIMITY_OUT
34+
* (SDL_PenProximityEvent)
35+
* - SDL_EVENT_PEN_DOWN, SDL_EVENT_PEN_UP (SDL_PenTouchEvent)
36+
* - SDL_EVENT_PEN_MOTION (SDL_PenMotionEvent)
37+
* - SDL_EVENT_PEN_BUTTON_DOWN, SDL_EVENT_PEN_BUTTON_UP (SDL_PenButtonEvent)
38+
* - SDL_EVENT_PEN_AXIS (SDL_PenAxisEvent)
39+
*
40+
* When a pen starts providing input, SDL will assign it a unique SDL_PenID,
41+
* which will remain for the life of the process, as long as the pen stays
42+
* connected.
3443
*
3544
* Pens may provide more than simple touch input; they might have other axes,
3645
* such as pressure, tilt, rotation, etc.

0 commit comments

Comments
 (0)