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 πŸŽ€


lowkey reminder: keep the #include <SDL3/SDL_haptic.h> line and the exact value 4294967295U character-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