crogine/include/crogine/core/Keyboard.hpp
/*!
    \brief Returns the string representation of the given SDL_Keycode enum
    */
\brief Returns the string representation of the given SDL_Keycode enum
\ brief Returns the string representation of the given SDL_Keycode enum
static inline cro::String keyString(SDL_Keycode key)
    {
        const auto* charArr = SDL_GetKeyName(key);
        cro::String str = cro::String::fromUtf8(charArr, charArr + std::strlen(charArr));
        return str;
    }
static inline cro :: String keyString ( SDL_Keycode key ) { const auto * charArr = SDL_GetKeyName ( key ) ; cro :: String str = cro :: String :: fromUtf8 ( charArr , charArr + std :: strlen ( charArr ) ) ; return str ; }
\brief Returns the string representation of the given SDL_Keycode enum
\ brief Returns the string representation of the given SDL_Keycode enum