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 for a word registered in the user dictionary.
Stores the reading (pronunciation) and the spelling of the word to register to the user dictionary, as well as the language of the dictionary to which to add the word.
Note: The language specified here is separate from the language specified 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 allLanguage is true, 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
|
wchar_t |
The reading (Japanese-language pronunciation). Null-terminated. | |
|---|---|---|---|
word
|
wchar_t |
The entry (null-terminated). | |
language
|
u8 |
Which language's dictionary to add the word to. | |
allLanguage
|
bool |
Whether to use in all languages. |
CONFIDENTIAL