diff options
author | TSR Berry <20988865+TSRBerry@users.noreply.github.com> | 2023-04-08 01:22:00 +0200 |
---|---|---|
committer | Mary <thog@protonmail.com> | 2023-04-27 23:51:14 +0200 |
commit | cee712105850ac3385cd0091a923438167433f9f (patch) | |
tree | 4a5274b21d8b7f938c0d0ce18736d3f2993b11b1 /src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/InvalidCharFlags.cs | |
parent | cd124bda587ef09668a971fa1cac1c3f0cfc9f21 (diff) |
Move solution and projects to src
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/InvalidCharFlags.cs')
-rw-r--r-- | src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/InvalidCharFlags.cs | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/InvalidCharFlags.cs b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/InvalidCharFlags.cs new file mode 100644 index 00000000..f3fd8ac8 --- /dev/null +++ b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/InvalidCharFlags.cs @@ -0,0 +1,56 @@ +using System; + +namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard +{ + /// <summary> + /// Identifies prohibited character sets. + /// </summary> + [Flags] + enum InvalidCharFlags : uint + { + /// <summary> + /// No characters are prohibited. + /// </summary> + None = 0 << 1, + + /// <summary> + /// Prohibits spaces. + /// </summary> + Space = 1 << 1, + + /// <summary> + /// Prohibits the at (@) symbol. + /// </summary> + AtSymbol = 1 << 2, + + /// <summary> + /// Prohibits the percent (%) symbol. + /// </summary> + Percent = 1 << 3, + + /// <summary> + /// Prohibits the forward slash (/) symbol. + /// </summary> + ForwardSlash = 1 << 4, + + /// <summary> + /// Prohibits the backward slash (\) symbol. + /// </summary> + BackSlash = 1 << 5, + + /// <summary> + /// Prohibits numbers. + /// </summary> + Numbers = 1 << 6, + + /// <summary> + /// Prohibits characters outside of those allowed in download codes. + /// </summary> + DownloadCode = 1 << 7, + + /// <summary> + /// Prohibits characters outside of those allowed in Mii Nicknames. + /// </summary> + Username = 1 << 8 + } +} |