Function ctru_sys::swkbdSetButton

source ·
pub unsafe extern "C" fn swkbdSetButton(
    swkbd: *mut SwkbdState,
    button: SwkbdButton,
    text: *const c_char,
    submit: bool
Expand description

Configures a dialog button in a software keyboard.


  • swkbd - Pointer to swkbd state.
  • button - Specifies which button to configure.
  • text - Button text.
  • submit - Specifies whether pushing the button will submit the text or discard it.