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