sdlIsDeXMode function system

bool sdlIsDeXMode()

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

\returns true if this is a DeX docking station, false otherwise.

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC bool SDLCALL SDL_IsDeXMode(void)

Implementation

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