SDL_HINT_JOY...ICES_EXCLUDED(3)
π SDL_HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED π
okay bestie, welcome to the SDL3 FUNCTIONS section of the manual β yes we're in SDL_HINT_JOY...ICES_EXCLUDED(3) territory and it's lowkey iconic π
β¨ NAME β¨
SDL_HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED β a variable containing a list of devices that are not throttle style controllers π«πΉοΈ
β¨ SYNOPSIS β¨
#include <SDL3/SDL_hints.h>
#define SDL_HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED "SDL_JOYSTICK_THROTTLE_DEVICES_EXCLUDED"
β¨ DESCRIPTION β¨
so like. this hint? it overrides SDL_HINT_JOYSTICK_THROTTLE_DEVICES and the built in device list. it's giving "we don't need your defaults, we have our own list" π
the format of the string is a comma separated list of USB VID/PID pairs in hexadecimal form, e.g.
0xAAAA/0xBBBB,0xCCCC/0xDDDD
and 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. yes fr fr, it'll read the file for you, no cap π«Ά
this hint can be set anytime. literally whenever. main character scheduling energy β¨
β¨ AVAILABILITY β¨
this hint is available since SDL 3.2.0. so if you're on something older... bestie. upgrade π
Simple Directmedia Layer π¦ SDL 3.4.18 β that's the source and version right there, and this whole page lives at SDL_HINT_JOY...ICES_EXCLUDED(3). mwah, thanks for reading, go forth and exclude some throttles ππ
π¦ 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