From 12badfffb94cc2dda128df4895668d1e2716de24 Mon Sep 17 00:00:00 2001 From: Thomas Guillemard Date: Fri, 3 May 2019 01:29:01 +0200 Subject: 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 --- Ryujinx.HLE/Input/HidKeyboard.cs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Ryujinx.HLE/Input/HidKeyboard.cs (limited to 'Ryujinx.HLE/Input/HidKeyboard.cs') 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 -- cgit v1.2.3