MCPcopy Create free account
hub / github.com/defold/defold / SupportsPlatform

Function SupportsPlatform

engine/input/src/input.cpp:477–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475 }
476
477 static inline bool SupportsPlatform(const char* platform)
478 {
479 if (strcmp(DM_PLATFORM, platform) == 0)
480 return true;
481#if defined(__APPLE__)
482 if (strcmp("osx", platform) == 0)
483 return true;
484#endif
485 return false;
486 }
487
488 void RegisterGamepads(HContext context, const dmInputDDF::GamepadMaps* ddf)
489 {

Callers 1

RegisterGamepadsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected