| 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 | { |