SDL_JOYSTICK_AXIS_MIN(3)
β¨ SDL_JOYSTICK_AXIS_MIN β¨
okay bestie, welcome to the SDL3 FUNCTIONS section of the manual, and today we're talking about SDL_JOYSTICK_AXIS_MIN β literally the smallest value an SDL_Joystick's axis can report. that's it. that's the whole vibe. π
π NAME π
SDL_JOYSTICK_AXIS_MIN β the smallest value an SDL_Joystick's axis can report. no cap, that's literally its whole job. π
πΈ SYNOPSIS πΈ
pull it in like this, bestie:
#include <SDL3/SDL_joystick.h>
#define SDL_JOYSTICK_AXIS_MIN -32768
so you just #include the header and the macro is right there, already defined, ready to slay. β¨
π DESCRIPTION π
okay so listen. this is a negative number! π
that's the entire description. she's negative. she's the floor. she's the bottom of the axis range and she knows it. when your joystick axis is fully pushed one way, this is what you get. π
π¦ AVAILABILITY π¦
this macro is available since SDL 3.2.0. if you're on anything older, sorry babe, she wasn't born yet. π
π SEE ALSO π
SDL_JOYSTICK_AXIS_MAX(3)β her iconic counterpart, the biggest value. the two of them together? it's giving range. π
and that's the whole page, bestie!! π«Ά this little gem comes to you from the Simple Directmedia Layer crew, living in SDL 3.4.18, filed under SDL_JOYSTICK_AXIS_MIN(3). mwah, go read the MAX one next, iykyk π
β¨π
π¦ 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