SDL_MouseWheelDirection(3type)
π SDL_MouseWheelDirection π
okay bestie, welcome to the SDL3 DATATYPES corner of the manual, where today's main character is SDL_MouseWheelDirection β the scroll direction types for the Scroll event β¨
πΈ NAME πΈ
SDL_MouseWheelDirection β the scroll direction types for the Scroll event, no cap π±οΈπ«
β¨ SYNOPSIS β¨
#include <SDL3/SDL_mouse.h>
typedef enum SDL_MouseWheelDirection
{
SDL_MOUSEWHEEL_NORMAL, /**< The scroll direction is normal */
SDL_MOUSEWHEEL_FLIPPED /**< The scroll direction is flipped / natural */
} SDL_MouseWheelDirection;
so basically it's an enum, it's giving very "two options and both of them are iconic" π
SDL_MOUSEWHEEL_NORMALβ the scroll direction is normal, the default vibe, the way you already expect it to go πSDL_MOUSEWHEEL_FLIPPEDβ the scroll direction is flipped / natural, i.e. the "natural scrolling" girlies know exactly what this is π
π AVAILABILITY π
this enum has been available since SDL 3.2.0, so if you're on anything older... babe, upgrade πβ¨
and that's the whole page, periodt π go forth and scroll responsibly π¦
simple sign-off time: this lil datatype page comes to you from the Simple Directmedia Layer girlies, living in SDL 3.4.18 β SDL_MouseWheelDirection(3type), mwah ππ
π¦ 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