SDL_HINT_JOY...II_PLAYER_LED(3)
π SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, this one's a lil niche but honestly kinda cute π
β¨ NAME β¨
SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED β it's the variable that decides whether the player LEDs light up to show which player is associated with a Wii controller π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_hints.h>
#define SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED "SDL_JOYSTICK_HIDAPI_WII_PLAYER_LED"
β¨ DESCRIPTION β¨
so like, this variable can be set to the following values:
"0"β Player LEDs are not enabled. the lights are off, the vibe is mystery π"1"β Player LEDs are enabled. (default) β¨ she's lit, literally π
no cap, this hint can be set anytime. whenever. no timing drama π«Ά
β¨ AVAILABILITY β¨
this hint is available since SDL 3.2.0 β so if you're on anything older, she simply does not exist yet, sorry bestie π
and that's the whole page, you ate it π
Simple Directmedia Layer Β· SDL 3.4.18 β mwah, go light up some Wii controllers, icon behavior ππ
π¦ 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