SDL_HapticRumbleSupported(3)
β¨ SDL_HapticRumbleSupported β¨
okay bestie, welcome to the SDL3 FUNCTIONS section of the manual, and today we're checking out SDL_HapticRumbleSupported(3) π
π NAME π
SDL_HapticRumbleSupported β she checks whether rumble is supported on a haptic device. that's it, that's the whole job, and she does it flawlessly π
π¦ SYNOPSIS π¦
#include <SDL3/SDL_haptic.h>
bool SDL_HapticRumbleSupported(SDL_Haptic *haptic);
no cap, that's the entire signature. one function, one pointer, one bool coming back at you πΈ
π FUNCTION PARAMETERS π
hapticβ the haptic device you wanna check for rumble support. like, the actual device. you hand her the device and she tells you if it can vibe. simple as that π«Ά
β RETURN VALUE β
Returns true if the effect is supported, or false if it isn't. true = rumble era unlocked. false = no rumble for you, bestie, and honestly? tragic π
π AVAILABILITY π
this one is available since SDL 3.2.0. so if you're on something older, she simply does not exist yet. main character hasn't entered the chat π
π SEE ALSO π
SDL_InitHapticRumble(3)β the natural next step, iykyk π₯
fr fr: if you're about to init a rumble effect, vibe check it with this function first. that's literally what she's here for π
and that's a wrap, babe π this page came to you from the Simple Directmedia Layer girlies, SDL 3.4.18, dated right alongside SDL_HapticRumbleSupported(3) β go forth and rumble responsibly πβ¨
π¦ 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