< The pen button index (first button is 1).
< true if the button is pressed
< Complete pen input state at time of event
< In nanoseconds, populated using SDL_GetTicksNS()
< SDL_EVENT_PEN_BUTTON_DOWN or SDL_EVENT_PEN_BUTTON_UP
< The pen instance id
< The window with mouse focus, if any
< X coordinate, relative to window
< Y coordinate, relative to window
Pressure-sensitive pen button event structure (event.pbutton.*)
This is for buttons on the pen itself that the user might click. The pen itself pressing down to draw triggers a SDL_EVENT_PEN_DOWN event instead.
\since This struct is available since SDL 3.2.0.