Solved
I was able to implement a modal keyboard. I can type in the box and everything is nice. When I try to move my typed text to a wildcard, I get the value "3216" instead of the typed value.
// Here is my code for when the enter button is clicked:
void MainScreenView::EnterButtonClickedFunction() {
Unicode::UnicodeChar STRING = keyboard.getBuffer();
updateWildcard(STRING);
targetVacValvePercent.resizeToCurrentText();
targetVacValvePercent.invalidate();
// Close Modal Window
targetPercentModalWindow.setVisible(false);
targetPercentModalWindow.invalidate();
keyboard.setVisible(false);
keyboard.invalidate();
enterValueButton.setVisible(false);
closeModalWindowButton.setVisible(false);
}
// Here is my update Wildcard text:
void MainScreenView::updateWildcard(uint16_t text)
{
Unicode::snprintf(targetVacValvePercentBuffer, 5, "%d", text);
targetVacValvePercent.invalidate();
}