| 18 | namespace |
| 19 | { |
| 20 | std::filesystem::path resourcesDir() |
| 21 | { |
| 22 | #ifdef SFML_SYSTEM_IOS |
| 23 | return ""; |
| 24 | #else |
| 25 | return "resources"; |
| 26 | #endif |
| 27 | } |
| 28 | |
| 29 | // Get the C++ enumerator name of the given `sf::Keyboard::Key` value including `Key::` prefix |
| 30 | std::string keyIdentifier(sf::Keyboard::Key code) |