SDL_IsDeXMode(3)
okay so bestie, welcome to the SDL_IsDeXMode(3) page β it lives in the SDL3 FUNCTIONS manual, and it's literally here to answer one question: is this application running on a Samsung DeX docking station? It's giving "phone in desktop mode" main character energy. π
π NAME π
SDL_IsDeXMode β asks whether the application is running on a Samsung DeX docking station. That's it, that's the whole gig. Iconic. β¨
β¨ SYNOPSIS β¨
#include <SDL3/SDL_system.h>
bool SDL_IsDeXMode(void);
π RETURN VALUE π
trueβ returns true if this is a DeX docking station. Slay, you're docked. πfalseβ returns false otherwise. Not docked, not DeX, no cap. π
π§΅ THREAD SAFETY π§΅
Calling this function from any thread is safe β like, any thread, bestie, you're covered. π
π AVAILABILITY π
This one's been available since SDL 3.2.0. Periodt. π
and that's the whole page, bestie β brought to you by Simple Directmedia Layer, version SDL 3.4.18, and the SDL_IsDeXMode(3) manual page. The footer didn't give us a date, so we're timeless, fr fr. π
π¦ 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