aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/SystemState/RegionCode.cs
diff options
context:
space:
mode:
authorplutoo <plutooo@users.noreply.github.com>2020-05-05 11:50:53 -0700
committerGitHub <noreply@github.com>2020-05-05 20:50:53 +0200
commit7f500e7cae940958289abe1a3461e52684742053 (patch)
treed9741ec47df879130555e8fb892f9ad42f982761 /Ryujinx.HLE/HOS/SystemState/RegionCode.cs
parent8be73351762f44620417b0dbe15129d8c00af6e1 (diff)
set: Quick implementation of GetKeyCodeMap/GetKeyCodeMap2 (#1210)
* set: Quick implementation of GetKeyCodeMap/GetKeyCodeMap2 This fixed USB keyboard access in official titles. * hid: Stub SendKeyboardLockKeyEvent * Update Ryujinx.HLE/HOS/Services/Settings/ISettingsServer.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * set: KeyboardLayout bringup * set: Small bugfix * Fix GetKeyCodeMapImpl * Revert SystemRegion > RegionCode in Configuration * Fix SendKeyboardLockKeyEvent Co-authored-by: Ac_K <Acoustik666@gmail.com>
Diffstat (limited to 'Ryujinx.HLE/HOS/SystemState/RegionCode.cs')
-rw-r--r--Ryujinx.HLE/HOS/SystemState/RegionCode.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/SystemState/RegionCode.cs b/Ryujinx.HLE/HOS/SystemState/RegionCode.cs
new file mode 100644
index 00000000..dd6ed8fa
--- /dev/null
+++ b/Ryujinx.HLE/HOS/SystemState/RegionCode.cs
@@ -0,0 +1,17 @@
+namespace Ryujinx.HLE.HOS.SystemState
+{
+ // nn::settings::RegionCode
+ public enum RegionCode
+ {
+ Japan,
+ USA,
+ Europe,
+ Australia,
+ China,
+ Korea,
+ Taiwan,
+
+ Min = Japan,
+ Max = Taiwan
+ }
+}