diff --git a/nx/include/switch/applets/swkbd.h b/nx/include/switch/applets/swkbd.h index b444c285..c8c36a26 100644 --- a/nx/include/switch/applets/swkbd.h +++ b/nx/include/switch/applets/swkbd.h @@ -37,7 +37,7 @@ enum { typedef enum { SwkbdTextDrawType_Line = 0, ///< The text will be displayed on a line. Also enables displaying the Header and Sub text. SwkbdTextDrawType_Box = 1, ///< The text will be displayed in a box. - SwkbdTextDrawType_DownloadCode = 2, ///< Used by \ref swkbdConfigMakePresetDownloadCode on 5.0.0+. + SwkbdTextDrawType_DownloadCode = 2, ///< Used by \ref swkbdConfigMakePresetDownloadCode on 5.0.0+. Enables using \ref SwkbdArgV7 unk_x3e0. } SwkbdTextDrawType; typedef SwkbdTextCheckResult (*SwkbdTextCheckCb)(char* tmp_string, size_t tmp_string_size); /// TextCheck callback set by \ref swkbdConfigSetTextCheckCallback, for validating the input string when the swkbd ok-button is pressed. This buffer contains an UTF-8 string. This callback should validate the input string, then return a \ref SwkbdTextCheckResult indicating success/failure. On failure, this function must write an error message to the tmp_string buffer, which will then be displayed by swkbd. @@ -75,7 +75,7 @@ typedef struct { /// Arg struct for version 0x30007+. typedef struct { SwkbdArgV0 arg; - u32 unk_x3e0[8]; + u32 unk_x3e0[8]; ///< When set and enabled via \ref SwkbdTextDrawType, controls displayed text grouping (inserts spaces, without affecting output string). } SwkbdArgV7; typedef struct {