SDL_CloseHaptic(3)
π SDL_CloseHaptic(3) π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where today's main character is literally justβ¦ closing a haptic device. that's it. that's the whole job. and honestly? iconic. π
β¨ NAME β¨
SDL_CloseHaptic β bestie, this closes a haptic device that you previously opened with SDL_OpenHaptic(). like, we're done here, pack it up, say bye π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_haptic.h>
void SDL_CloseHaptic(SDL_Haptic *haptic);
that's the whole thing. no return value. it just does it. π
π¦ FUNCTION PARAMETERS π¦
hapticβ theSDL_Hapticdevice you want to close. the one you're letting go of. the situationship is over, babe π
β AVAILABILITY β
this function has been serving looks since SDL 3.2.0. so if you're on anything older, bestieβ¦ it's giving not found π
π SEE ALSO π
SDL_OpenHaptic(3)β the one that started it all. you can't close what you never opened, iykyk π«Ά
and that's the vibe check: open it, use it, close it. balanced. as all things should be. periodt. π
this little love letter to cleanup comes to you from Simple Directmedia Layer, rocking version SDL 3.4.18 β stay haptic, stay hydrated, mwah πβ¨
π¦ 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