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
trueif the mouse is haptic π - returns
falseif 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 π
- SDL_OpenHapticFromMouse(3) β like, if the vibe check comes back
true, this is your next move, bestie π―
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
- 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