mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-07 13:55:47 +00:00
misc: chore: Collapse HLE swkbd character validation utils into a single class
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using Ryujinx.Common.Helper;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
||||
{
|
||||
public static class CharacterValidation
|
||||
{
|
||||
public static bool IsNumeric(char value) => Patterns.Numeric.IsMatch(value.ToString());
|
||||
public static bool IsCJK(char value) => Patterns.CJK.IsMatch(value.ToString());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user