SDL_HapticEffectID(3type)

πŸ“¦
version 3.4.18 Β· 5 versions
, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

SDL_HapticEffectID β€” the lil ID number for haptic effects, bestie πŸŽ€


✨ SYNOPSIS ✨

#include <SDL3/SDL_haptic.h>

typedef int SDL_HapticEffectID;

🌸 DESCRIPTION 🌸

okay so listen πŸ‘‘ β€” this is just a type, and it's an int, and it holds the ID of a haptic effect.

and here's the tea: if the ID is invalid, this bad boy is literally -1. that's it, that's the whole vibe check πŸ’…

no cap, -1 means invalid. if you see -1 in your SDL_HapticEffectID, it's giving "this effect does not exist" 😭

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ this page came from Simple Directmedia Layer, SDL 3.4.18, and it's the SDL_HapticEffectID(3type) moment fr fr ✨ slay, now go forth and haptic πŸ’–πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from