SDL_HINT_MOUSE_DOUBLE_CLICK_TIME(3)
β¨ SDL_HINT_MOUSE_DOUBLE_CLICK_TIME π
okay so bestie, welcome to the SDL3 functions manual, section 3 β the one and only SDL_HINT_MOUSE_DOUBLE_CLICK_TIME(3). yes she's a mouthful, but she's iconic and she's here to tell you about double clicks. sit down, hydrate, let's go π«Ά
π NAME π
SDL_HINT_MOUSE_DOUBLE_CLICK_TIME β a variable setting the double click time, in milliseconds. literally that's her whole job, no cap π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_hints.h>
#define SDL_HINT_MOUSE_DOUBLE_CLICK_TIME "SDL_MOUSE_DOUBLE_CLICK_TIME"
so you pull in <SDL3/SDL_hints.h> and boom, the macro is right there, spelling out the string "SDL_MOUSE_DOUBLE_CLICK_TIME" for you because typing that from memory is giving chaos energy π
π¦ DESCRIPTION π¦
This hint can be set anytime. not "only before init", not "only on a full moon" β literally anytime, bestie. she's flexible like that β¨
π AVAILABILITY π
This hint is available since SDL 3.2.0. so if your SDL is ancient, this one's not for you, sorry babe π
Simple Directmedia Layer made this, SDL 3.4.18 is the version on this page, and the doc itself is from the SDL_HINT_MOUS...LE_CLICK_TIME(3) manpage (yes the title got squished by the formatter, she's fine, she's just shy π). that's the whole page, periodt. go set your hint and slay π π
π¦ 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