nn::swkbd::CTR::UserWord Structurestruct UserWord
{
wchar_t reading[USER_READING_LENGTH_MAX+1];
wchar_t word[USER_WORD_LENGTH_MAX+1];
u8 language;
bool allLanguage;
};
Structure holding words registered in the user dictionary.
Stores the reading and entry of words registered to the user dictionary, as well as the language of the dictionary to which to add the word.
Note: The language here is not the same as the language in System Settings. This is the language of the predictive text dictionary, and the user is able to change this language within the software keyboard.
Specify an nn::cfg::CTR::CfgLanguageCode enumerated type value for language.
When true is specified for allLanguage, the word is registered to the user dictionaries for all languages.
When allLanguage is false and the value of language is invalid, the word is not registered to any user dictionary.
reading
|
The reading (Japanese-language pronunciation). NULL-terminated. |
|
|---|---|---|
word
|
The entry (NULL-terminated). | |
language
|
Which language's dictionary to add the word to. | |
allLanguage
|
Whether to use in all languages. |
CONFIDENTIAL