SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS(3)

πŸ’– SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS πŸ’–

okay bestie, welcome to the manual page for SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS(3) β€” that's the one, that's the girl, and she lives in the SDL3 FUNCTIONS section of the docs. let's get into it 🫢


✨ NAME ✨

SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS β€” a variable that sets the double click radius, in pixels. literally what it says on the tin πŸ’…


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_hints.h>

#define SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS "SDL_MOUSE_DOUBLE_CLICK_RADIUS"

like, that's the whole vibe. include the header, and the hint's string name is right there. no cap ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

This hint can be set anytime. yes bestie, anytime. she does not gatekeep, she does not make you wait for some special init moment, she is ready when you are 😌


πŸŽ€ AVAILABILITY πŸŽ€

This hint has been available since SDL 3.2.0. so if you're on something older, it's giving "not yet, babe" πŸ’€


Simple Directmedia Layer β€’ SDL 3.4.18 β€’ SDL_HINT_MOUS..._CLICK_RADIUS(3)

that's the page, bestie!! go forth and double-click responsibly, mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from