SDL_HINT_JOY...STICK_DEVICES(3)

✨ NAME ✨

okay so bestie, welcome to the SDL_HINT_JOY...STICK_DEVICES(3) manual page πŸ’–βœ¨ the hint itself is SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES β€” a variable containing a list of arcade stick style controllers. Slay. πŸ‘‘

✨ SYNOPSIS ✨

#include <SDL3/SDL_hints.h>

#define SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES "SDL_JOYSTICK_ARCADESTICK_DEVICES"

✨ DESCRIPTION ✨

So the format of the string? It's a comma separated list of USB VID/PID pairs in hexadecimal form, e.g. 🌸

0xAAAA/0xBBBB,0xCCCC/0xDDDD

The variable can also take the form of "@file", in which case the named file will be loaded and interpreted as the value of the variable. No cap, it's giving file-based magic πŸ§šπŸ¦‹

This hint can be set anytime. Literally anytime. Main character energy. πŸ’…

✨ AVAILABILITY ✨

This hint is available since SDL 3.2.0. So it's been here for a minute, and it's still that girl. πŸ‘‘πŸ’–


Simple Directmedia Layer, SDL 3.4.18, and the SDL_HINT_JOY...STICK_DEVICES(3) page β€” that's a wrap, bestie! Stay iconic πŸ«ΆπŸ’–πŸŒˆ

πŸ“¦ where this page comes from