File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 28
28
* handling, e.g., for input and drawing tablets or suitably equipped mobile /
29
29
* tablet devices.
30
30
*
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.
34
43
*
35
44
* Pens may provide more than simple touch input; they might have other axes,
36
45
* such as pressure, tilt, rotation, etc.
You can’t perform that action at this time.
0 commit comments