SDL_PenID(3type)

SDL_PenID3type

Sdl pen instance ids.

Usage

#include "SDL3/SDL.h"

typedef Uint32 SDL_PenID;

Header file

Defined in SDL3/SDL_pen.h

Overview

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.

Availability

This datatype is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.