sdlIsUbuntuTouch function system

bool sdlIsUbuntuTouch()

Detect whether the current platform is Ubuntu Touch.

\returns true if the platform is Ubuntu Touch; false otherwise.

\since This function is available since SDL 3.6.0.

extern SDL_DECLSPEC bool SDLCALL SDL_IsUbuntuTouch(void)

Implementation

bool sdlIsUbuntuTouch() {
  final sdlIsUbuntuTouchLookupFunction = _libSdl
      .lookupFunction<Bool Function(), bool Function()>('SDL_IsUbuntuTouch');
  return sdlIsUbuntuTouchLookupFunction();
}