SDL_HAPTIC_AUTOCENTER(3)
π SDL_HAPTIC_AUTOCENTER(3) π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where we talk about haptics and vibes (literally, the rumble kind) β¨
πΈ NAME πΈ
SDL_HAPTIC_AUTOCENTER β the device can set autocenter, no cap.
β¨ SYNOPSIS β¨
#include <SDL3/SDL_haptic.h>
#define SDL_HAPTIC_AUTOCENTER (1u<<17)
like, that's the whole thing. one include, one define. she's lowkey iconic for being this simple π
π¦ DESCRIPTION π¦
so basically? the device supports setting autocenter. that's it, that's the tea π
it's a flag you can check for β if it's there, your haptic device can do the autocenter thing. periodt.
π AVAILABILITY π
this macro is available since SDL 3.2.0. so if you're on anything older, sorry babe, she's not there yet π
π SEE ALSO π
SDL_SetHapticAutocenter(3)β the actual function that does the setting, iykyk π«Ά
mwah π this lil page came to you from Simple Directmedia Layer, living in SDL 3.4.18. go forth and rumble responsibly, bestie π§β¨
π¦ 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