SDL_PEN_MOUSEID(3)
π SDL_PEN_MOUSEID(3) π
okay so bestie, welcome to the SDL3 FUNCTIONS section of the manual, and today's main character is SDL_PEN_MOUSEID ποΈβ¨
πΈ NAME πΈ
SDL_PEN_MOUSEID β the SDL_MouseID for mouse events simulated with pen input π±οΈποΈ
like, when your pen is out here pretending to be a mouse, this is the ID it uses. no cap.
β¨ SYNOPSIS β¨
#include <SDL3/SDL_pen.h>
#define SDL_PEN_MOUSEID ((SDL_MouseID)-2)
fr fr, that's the whole thing. a macro. iconic behavior honestly π
π¦ AVAILABILITY π¦
This macro is available since SDL 3.2.0. so if you're on anything older, it's giving "not yet, babe" π
and that's the vibe check, bestie β short, sweet, and fully slaying. go forth and handle those pen-simulated mouse events with main character energy π
this page came to you from the Simple Directmedia Layer, version SDL 3.4.18, and yes the date is giving classic manpage footer energy π stay hydrated, read your headers, and remember: SDL_PEN_MOUSEID is lowkey just ((SDL_MouseID)-2) and it's obsessed with being exactly that π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms