SDL_CloseSensor(3)
π SDL_CloseSensor(3) π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where we close sensors like we close tabs we're never gonna read again. this one's short and sweet and honestly kinda iconic for it β¨
πΈ NAME πΈ
SDL_CloseSensor β bestie, it closes a sensor that you previously opened with SDL_OpenSensor(). that's the whole gig. no cap. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_sensor.h>
void SDL_CloseSensor(SDL_Sensor *sensor);
it's giving very "short function, big responsibility" fr fr π
π«Ά FUNCTION PARAMETERS π«Ά
sensorβ theSDL_Sensorobject you wanna close. hand it over, let it go, say your goodbyes π¦
π AVAILABILITY π
this function has been available since SDL 3.2.0. so if you're on anything older, lowkey you're out of luck π
reminder bestie: only close sensors you actually opened with SDL_OpenSensor(). this page does not say what happens otherwise, and we are not out here inventing lore π
and that's the whole page, periodt π
Simple Directmedia Layer made this one, it's chillin' in SDL 3.4.18, and the whole thing is filed under SDL_CloseSensor(3) β mwah, take care of your sensors bestie, love u, bye ππΈβ¨
π¦ 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