mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-28 01:27:11 +02:00
Check KeyboardMode in GUI (#4343)
* Update SoftwareKeyboard to send KeyboardMode to UI * Update GTK UI to check text against KeyboardMode * Update Ava UI to check text against KeyboardMode * Restructure input validation * true when text is not empty * Add English validation text for SoftwareKeyboardMode * Add Chinese validation text for SoftwareKeyboardMode * Update base on feedback --------- Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
This commit is contained in:
parent
21c9ac6240
commit
d511c845b7
9 changed files with 109 additions and 22 deletions
|
@ -209,6 +209,7 @@ namespace Ryujinx.HLE.HOS.Applets
|
|||
// Call the configured GUI handler to get user's input.
|
||||
var args = new SoftwareKeyboardUiArgs
|
||||
{
|
||||
KeyboardMode = _keyboardForegroundConfig.Mode,
|
||||
HeaderText = StripUnicodeControlCodes(_keyboardForegroundConfig.HeaderText),
|
||||
SubtitleText = StripUnicodeControlCodes(_keyboardForegroundConfig.SubtitleText),
|
||||
GuideText = StripUnicodeControlCodes(_keyboardForegroundConfig.GuideText),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue