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