--- a/library/lib/platforms/switch/swkbd.cpp +++ b/library/lib/platforms/switch/swkbd.cpp @@ -39,7 +39,9 @@ static SwkbdConfig createSwkbdBaseConfig(std::string headerText, std::string sub swkbdConfigSetSubText(&config, subText.c_str()); swkbdConfigSetStringLenMax(&config, maxStringLength); swkbdConfigSetInitialText(&config, initialText.c_str()); +#if defined(SWKBD_CONFIG_SET_STRING_LEN_MAX_EXT) swkbdConfigSetStringLenMaxExt(&config, 1); +#endif swkbdConfigSetBlurBackground(&config, true); return config;