mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-05-12 01:37:43 +02:00

* 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>
31 lines
740 B
C#
31 lines
740 B
C#
namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
|
{
|
|
/// <summary>
|
|
/// Identifies the variant of keyboard displayed on screen.
|
|
/// </summary>
|
|
public enum KeyboardMode : uint
|
|
{
|
|
/// <summary>
|
|
/// A full alpha-numeric keyboard.
|
|
/// </summary>
|
|
Default = 0,
|
|
|
|
/// <summary>
|
|
/// Number pad.
|
|
/// </summary>
|
|
NumbersOnly = 1,
|
|
|
|
/// <summary>
|
|
/// ASCII characters keyboard.
|
|
/// </summary>
|
|
ASCII = 2,
|
|
|
|
FullLatin = 3,
|
|
Alphabet = 4,
|
|
SimplifiedChinese = 5,
|
|
TraditionalChinese = 6,
|
|
Korean = 7,
|
|
LanguageSet2 = 8,
|
|
LanguageSet2Latin = 9,
|
|
}
|
|
}
|