SDL_IsMouseHaptic(3)

✨ SDL_IsMouseHaptic ✨

okay so bestie, welcome to the SDL_IsMouseHaptic(3) page, part of the SDL3 functions lineup πŸ’– this one is literally a tiny little vibe check for your mouse.


🌸 NAME 🌸

SDL_IsMouseHaptic β€” the way this function just asks the universe "hey, does the current mouse have haptic capabilities or not?" πŸ–±οΈβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_haptic.h>

bool SDL_IsMouseHaptic(void);

no arguments, no drama, she takes nothing and gives you a whole boolean πŸ’…


πŸ¦‹ RETURN VALUE πŸ¦‹

  • returns true if the mouse is haptic πŸ’–
  • returns false if it isn't πŸ™ˆ

that's it. that's the whole tea. one bool, zero notes. 🫢


πŸ‘‘ AVAILABILITY πŸ‘‘

this function is available since SDL 3.2.0. so if you're on something older… girl, no she's not there yet 😭 upgrade era fr fr.


🌈 SEE ALSO 🌈


ngl if you're out here probing mice for haptics before opening anything, that's lowkey main character energy. go off. πŸ’…

okay that's the whole page, sending you off with love β€” this was the Simple Directmedia Layer girlies, SDL 3.4.18, and yeah the date's on the tin too πŸŽ€ stay hydrated, read your docs, periodt βœ¨πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from