aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/SystemState/KeyboardLayout.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/KeyboardLayout.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/KeyboardLayout.cs')
-rw-r--r--Ryujinx.HLE/HOS/SystemState/KeyboardLayout.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/SystemState/KeyboardLayout.cs b/Ryujinx.HLE/HOS/SystemState/KeyboardLayout.cs
new file mode 100644
index 00000000..ba35ea6b
--- /dev/null
+++ b/Ryujinx.HLE/HOS/SystemState/KeyboardLayout.cs
@@ -0,0 +1,25 @@
+namespace Ryujinx.HLE.HOS.SystemState
+{
+ // nn::settings::KeyboardLayout
+ public enum KeyboardLayout
+ {
+ Default = 0,
+ EnglishUs,
+ EnglishUsInternational,
+ EnglishUk,
+ French,
+ FrenchCa,
+ Spanish,
+ SpanishLatin,
+ German,
+ Italian,
+ Portuguese,
+ Russian,
+ Korean,
+ ChineseSimplified,
+ ChineseTraditional,
+
+ Min = Default,
+ Max = ChineseTraditional
+ }
+}