SDL_PenID - SDL pen instance IDs.
Contents
Availability
This datatype is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_PenID(3type)
Description
Zero is used to signify an invalid/null device.
These show up in pen events when SDL sees input from them. They remain consistent as long as SDL can
recognize a tool to be the same pen; but if a pen physically leaves the area and returns, it might get a
new ID.
Name
SDL_PenID - SDL pen instance IDs.
Synopsis
#include<SDL3/SDL_pen.h>typedefUint32SDL_PenID;
