SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED(3)

πŸ’– NAME πŸ’–

okay so bestie, this is SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED β€” it's a variable holding a whole list of devices that are NOT flightstick style controllers. like, the anti-flightstick list. the "these are not it, king" list. πŸŽ€


✨ SYNOPSIS ✨

#include <SDL3/SDL_hints.h>

#define SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED "SDL_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED"

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it actually do? this hint overrides SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES and the built in device list. yeah. it just says "no thank you" to all of that. it's giving main character energy, honestly. πŸ‘‘

the format of the string is a comma separated list of USB VID/PID pairs, in hexadecimal form, and it looks like this:

0xAAAA/0xBBBB,0xCCCC/0xDDDD

the variable can also take the form of @file β€” and when it does, that named file gets loaded and interpreted as the value of the variable. cute, right? ✨

πŸ’‘ this hint can be set anytime. no timing drama, no waiting around. periodt.

🌸 AVAILABILITY 🌸

this hint is available since SDL 3.2.0. it's been here, it's been serving. πŸ’…


and that's the whole vibe, bestie 🫢 this page came from Simple Directmedia Layer, version SDL 3.4.18 β€” go off and configure those controllers, mwah πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from