SDL_HAPTIC_SINE(3)
β¨ SDL_HAPTIC_SINE β¨
okay bestie, welcome to the SDL_HAPTIC_SINE page of the SDL3 functions manual π buckle up, it's short but it's iconic.
πΈ NAME πΈ
SDL_HAPTIC_SINE β sine wave effect supported. that's it, that's the whole vibe π¦
π SYNOPSIS π
#include <SDL3/SDL_haptic.h>
#define SDL_HAPTIC_SINE (1u<<1)
no cap, that's literally the whole thing. a header include and one macro. slay β¨
π DESCRIPTION π
Periodic haptic effect that simulates sine waves. π
so like, it's a periodic effect β meaning it vibes on a loop β and the shape of that loop is a smooth lil sine wave. very soft, very rhythmic, very main character energy π«Ά
π AVAILABILITY π
This macro is available since SDL 3.2.0. so if you're on anything older, she's not there yet, sorry babe π
π SEE ALSO π
SDL_HapticPeriodic(3type)β the whole periodic-effect family, go say hi π
that's the page fr fr. go make something buzz. periodt. π β¨
signed off with love by the Simple Directmedia Layer girlies, SDL 3.4.18 edition π (yes that's the source + version, and the date lives up in the header area of the original β we kept the whole thing, promise π«Ά)
π¦ 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