aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Input/HidKeyboard.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/HidKeyboard.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/HidKeyboard.cs')
-rw-r--r--Ryujinx.HLE/Input/HidKeyboard.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Input/HidKeyboard.cs b/Ryujinx.HLE/Input/HidKeyboard.cs
new file mode 100644
index 00000000..a5b042a5
--- /dev/null
+++ b/Ryujinx.HLE/Input/HidKeyboard.cs
@@ -0,0 +1,8 @@
+namespace Ryujinx.HLE.Input
+{
+ public struct HidKeyboard
+ {
+ public int Modifier;
+ public int[] Keys;
+ }
+} \ No newline at end of file