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