#include <SDL_pen.h>
Pen capabilities, as reported by SDL_GetPenCapabilities()
- Since
- This struct is available since SDL 3.0.0.
Definition at line 240 of file SDL_pen.h.
◆ max_tilt
float SDL_PenCapabilityInfo::max_tilt |
Physical maximum tilt angle, for XTILT and YTILT, or SDL_PEN_INFO_UNKNOWN . Pens cannot typically tilt all the way to 90 degrees, so this value is usually less than 90.0.
Definition at line 242 of file SDL_pen.h.
◆ num_buttons
Sint8 SDL_PenCapabilityInfo::num_buttons |
Number of pen buttons (not counting the pen tip), or SDL_PEN_INFO_UNKNOWN
Definition at line 244 of file SDL_pen.h.
◆ wacom_id
Uint32 SDL_PenCapabilityInfo::wacom_id |
For Wacom devices: wacom tool type ID, otherwise 0 (useful e.g. with libwacom)
Definition at line 243 of file SDL_pen.h.
The documentation for this struct was generated from the following file: