SDL_TOUCH_MOUSEID(3)

πŸ’– NAME πŸ’–

okay so SDL_TOUCH_MOUSEID β€” it's the SDL_MouseID you get for mouse events that were simulated with touch input. yes bestie, when touch pretends to be a mouse, this is the ID it rocks. 🫢


✨ SYNOPSIS ✨

#include <SDL3/SDL_touch.h>

#define SDL_TOUCH_MOUSEID ((SDL_MouseID)-1)

like, it's a macro, it's giving very define energy, it lives in SDL3/SDL_touch.h πŸ’…


🌸 AVAILABILITY 🌸

this macro has been around since SDL 3.2.0 β€” so if you're on anything older, bestie, it's not there, no cap. πŸŽ€


and that's the whole page, you ate it πŸ’–βœ¨ this lil manual page is from Simple Directmedia Layer, sitting pretty at version SDL 3.4.18, and its whole name is SDL_TOUCH_MOUSEID(3) β€” go forth and simulate, queen πŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from