Function ctru_sys::swkbdSetDictWord

source ·
pub unsafe extern "C" fn swkbdSetDictWord(
    word: *mut SwkbdDictWord,
    reading: *const c_char,
    text: *const c_char
)
Expand description

Configures a word in a predictive dictionary for use with a software keyboard.

§Arguments

  • word - Pointer to dictionary word structure.
  • reading - Reading of the word, that is, the sequence of characters that need to be typed to trigger the word in the predictive input system.
  • text - Spelling of the word, that is, the actual characters that will be produced when the user decides to select the word.