From fd3143f4455324dae2c08bd1a48b5eb5a7218375 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 23 Jun 2024 00:11:30 -0700 Subject: [PATCH] Added more documentation for SDL_HINT_MOUSE_RELATIVE_CURSOR_VISIBLE and SDL_HINT_MOUSE_RELATIVE_CLIP_INTERVAL --- include/SDL3/SDL_hints.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/SDL3/SDL_hints.h b/include/SDL3/SDL_hints.h index 3795f7447a..c28fc5df5b 100644 --- a/include/SDL3/SDL_hints.h +++ b/include/SDL3/SDL_hints.h @@ -2334,6 +2334,10 @@ extern "C" { * Note that for systems without raw hardware inputs, relative mode is * implemented using warping, so the hardware cursor will visibly warp between * frames if this is enabled on those systems. + * + * This hint can be set anytime. + * + * \since This hint is available since SDL 3.0.0. */ #define SDL_HINT_MOUSE_RELATIVE_CURSOR_VISIBLE "SDL_MOUSE_RELATIVE_CURSOR_VISIBLE" @@ -2347,6 +2351,10 @@ extern "C" { * The default value varies depending on the operating system, this variable * might not have any effects on inapplicable platforms such as those without * a cursor. + * + * This hint can be set anytime. + * + * \since This hint is available since SDL 3.0.0. */ #define SDL_HINT_MOUSE_RELATIVE_CLIP_INTERVAL "SDL_MOUSE_RELATIVE_CLIP_INTERVAL"