SDL_HINT_MOU...E_SPEED_SCALE(3)
π SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE π
okay bestie, welcome to the SDL3 FUNCTIONS section of the manual, and today's main character is a little hint called SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE. yes the page header got chopped up like SDL_HINT_MOU...E_SPEED_SCALE(3) but we all know what it's giving. π¦
β¨ NAME β¨
SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE β a variable that sets the scale for mouse motion, in floating point, for when the mouse is in relative mode. no cap. πΈ
β¨ SYNOPSIS β¨
#include <SDL3/SDL_hints.h>
#define SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE "SDL_MOUSE_RELATIVE_SPEED_SCALE"
like yes, that's the include, that's the define, that's literally the whole vibe. π
β¨ DESCRIPTION β¨
so this hint can be set anytime. whenever. no rules, no waiting, no "come back later" energy. set it when you feel like it, bestie. π
β¨ AVAILABILITY β¨
this hint has been around since SDL 3.2.0. it's not new new, but it's not ancient either. it's just iconic. π
reminder that this hint is literally a floating point scale for relative-mode mouse motion β so keep those values floaty, iykyk. π₯
and that's the whole page, fr fr. sending you off with love from the Simple Directmedia Layer girlies, running the SDL 3.4.18 era, on the SDL_HINT_MOU...E_SPEED_SCALE(3) page. stay slaying, go scale that mouse motion, 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