sdlIsDeXMode function

bool sdlIsDeXMode()

Query if the application is running on a Samsung DeX docking station.

\returns SDL_TRUE if this is a DeX docking station, SDL_FALSE otherwise.

\since This function is available since SDL 2.0.9.

extern DECLSPEC SDL_bool SDLCALL SDL_IsDeXMode(void)

Implementation

bool sdlIsDeXMode() {
  final sdlIsDeXModeLookupFunction =
      libSdl2.lookupFunction<Int32 Function(), int Function()>('SDL_IsDeXMode');
  return sdlIsDeXModeLookupFunction() == 1;
}