SDL_HAPTIC_CARTESIAN(3)
β¨ SDL_HAPTIC_CARTESIAN β¨
okay bestie, so this is a page from the SDL3 functions manual β it's literally all about SDL_HAPTIC_CARTESIAN, the macro that says "hey, we're doing directions with cartesian coordinates now." π
π NAME π
SDL_HAPTIC_CARTESIAN β uses cartesian coordinates for the direction. that's it, that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_haptic.h>
#define SDL_HAPTIC_CARTESIAN 1
so yeah, you pull in the header, and the macro is just chillin' there equal to 1. iconic. β
π AVAILABILITY π
this macro is available since SDL 3.2.0. so if you're on something older, sorry bestie, no cartesian for you π
π¦ SEE ALSO π¦
SDL_HapticDirection(3type)β go read that one too, it's the whole direction situation π
and that's the whole page, fr fr. this was brought to you by Simple Directmedia Layer, SDL 3.4.18 β stay slay, go make something rumble π«Άβ¨
π¦ 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