pub unsafe extern "C" fn swkbdSetValidation(
    swkbd: *mut SwkbdState,
    validInput: SwkbdValidInput,
    filterFlags: u32_,
    maxDigits: c_int
)
Expand description

Configures input validation in a software keyboard.

§Arguments

  • swkbd - Pointer to swkbd state.
  • validInput - Specifies which inputs are valid.
  • filterFlags - Bitmask specifying which characters are disallowed (filtered).
  • maxDigits - In case digits are disallowed, specifies how many digits are allowed at maximum in input strings (0 completely restricts digit input).