aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Input/HidValues.cs
diff options
context:
space:
mode:
authorThomas Guillemard <me@thog.eu>2019-05-03 01:29:01 +0200
committerjduncanator <1518948+jduncanator@users.noreply.github.com>2019-05-03 09:29:01 +1000
commit12badfffb94cc2dda128df4895668d1e2716de24 (patch)
treecabf42d91e9662656cb415574acf73814ef124be /Ryujinx.HLE/Input/HidValues.cs
parent3079c6a6590a8a7e0d788b9d3f894dab998ba734 (diff)
hid: Initial Keyboard Support (#684)
* hid: Initial Keyboard Support This adds basic hid keyboard support. Because of OpenTK.Input limitations, some specials keys aren't mapped. * Fix code style * Fix for loops code style * Make hid keyboard feature toggleable * Address comments * Fix 2 other nits * Apply jd's suggestion
Diffstat (limited to 'Ryujinx.HLE/Input/HidValues.cs')
-rw-r--r--Ryujinx.HLE/Input/HidValues.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Input/HidValues.cs b/Ryujinx.HLE/Input/HidValues.cs
index ae02bb42..06fe8fc0 100644
--- a/Ryujinx.HLE/Input/HidValues.cs
+++ b/Ryujinx.HLE/Input/HidValues.cs
@@ -26,6 +26,9 @@
internal const int HidControllersSize = 0x32000;
internal const int HidUnkSection9Size = 0x800;
+ internal const int HidKeyboardHeaderSize = 0x20;
+ internal const int HidKeyboardEntrySize = 0x38;
+
internal const int HidTouchHeaderSize = 0x28;
internal const int HidTouchEntrySize = 0x298;