SDL_HINT_ROG_GAMEPAD_MICE_EXCLUDED(3)

✨ NAME ✨

SDL_HINT_ROG_GAMEPAD_MICE_EXCLUDED β€” bestie it's a variable holding a list of devices that are not ROG gamepad capable mice πŸ’… (yes, we're excluding them, keep up 🫢)

This one lives in the SDL3 FUNCTIONS manual, iykyk.


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_hints.h>

#define SDL_HINT_ROG_GAMEPAD_MICE_EXCLUDED "SDL_ROG_GAMEPAD_MICE_EXCLUDED"

πŸ’– DESCRIPTION πŸ’–

okay so, setting this hint will override SDL_HINT_ROG_GAMEPAD_MICE and the built in device list. like, it takes priority, periodt πŸ‘‘

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. cute, right? a little file-based detour πŸŽ€

⚠️ This hint should be set before SDL is initialized. not after. before. the vibes are non-negotiable on this one fr fr πŸ’€

🌈 AVAILABILITY 🌈

This hint is available since SDL 3.2.0. it's been here, it's iconic, it ate ⭐


and that's the whole page, bestie!! πŸ¦‹ written for Simple Directmedia Layer, version SDL 3.4.18 β€” mwah, go exclude some mice πŸ’œπŸ§š

πŸ“¦ where this page comes from