SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS(3)
πΈ NAME πΈ
okay bestie so <SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS> is a variable that controls whether your Nintendo Switch Joy-Con controllers will be in vertical mode when you're using the HIDAPI driver. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_hints.h>
#define SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS "SDL_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS"
π DESCRIPTION π
so like, this variable can be set to the following values, and you will pick one of them, no cap:
"0"β Left and right Joy-Con controllers will not be in vertical mode. this is the default, it's giving "we're being normal about this" π"1"β Left and right Joy-Con controllers will be in vertical mode. go off, hold them however you want, main character energy π
π«Ά little heads up bestie: this hint should be set before opening a Joy-Con controller. set it early or the moment's gone, fr fr.
β AVAILABILITY β
This hint is available since SDL 3.2.0. so if you're on anything older, it's not there and we don't talk about it π
okay that's the whole page, love that for us π this was Simple Directmedia Layer's man page for SDL, SDL 3.4.18, and yes bestie we ate ππ§ no crumbs left, periodt ππ
π¦ 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