SDL_HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED(3)
π SDL_HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED(3) π
okay bestie, so this one lives in the SDL3 FUNCTIONS corner of the manual and it's literally all about telling SDL which controllers are not wheel-style. no cap. let's get into it π
β¨ NAME β¨
SDL_HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED β a variable containing a list of devices that are not wheel style controllers ππ«
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_hints.h>
#define SDL_HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED "SDL_JOYSTICK_WHEEL_DEVICES_EXCLUDED"
like, that's the include and that's the define. iconic. π
π¦ DESCRIPTION π¦
so the way this works is: setting this hint will override SDL_HINT_JOYSTICK_WHEEL_DEVICES and the built in device list. highkey a takeover moment π
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 bestie, plot twist β 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. so you can keep your whole list in a lil file and just point at it. obsessed π
this hint can be set anytime. whenever. no rules. no timing drama. π«Ά
π AVAILABILITY π
this hint is available since SDL 3.2.0. it's been around, it's established, it's giving veteran energy β
and that's the whole page, bestie β go forth and exclude some non-wheel devices with confidence π
this cutie came to you from the Simple Directmedia Layer girlies, page version SDL 3.4.18. mwah, see you in the next manpage ππβ¨
π¦ 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