SDL_HAPTIC_INFINITY(3)
π SDL_HAPTIC_INFINITY π
okay bestie, welcome to the SDL3 FUNCTIONS section of the manual, and today's main character is SDL_HAPTIC_INFINITY β a macro that's literally just here to let you play a device an infinite number of times. no cap. forever vibes only. πβ¨
β¨ NAME β¨
SDL_HAPTIC_INFINITY β the lil' constant you use to play a device an infinite number of times. π«Ά
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_haptic.h>
#define SDL_HAPTIC_INFINITY 4294967295U
like yes, that's the whole thing. one define. one 4294967295U. she's simple, she's iconic, she's giving maximum effort with zero drama. π
π¦ AVAILABILITY π¦
this macro has been around since SDL 3.2.0, so if you're on anything older... girl, upgrade. π
π SEE ALSO π
SDL_RunHapticEffect(3)β go run that effect, bestie, you know you want to π
lowkey reminder: keep the#include <SDL3/SDL_haptic.h>line and the exact value4294967295Ucharacter-for-character, because vibes are flexible but code is not. π
and that's the tea, fr fr. this page came to you courtesy of Simple Directmedia Layer, rockin' SDL 3.4.18 β mwah, take care of her, she's a legend. ππ
π¦ 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