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
This commit is contained in:
Thomas Guillemard 2019-05-03 01:29:01 +02:00 committed by jduncanator
parent 3079c6a659
commit 12badfffb9
8 changed files with 261 additions and 1 deletions

View file

@ -0,0 +1,8 @@
namespace Ryujinx.HLE.Input
{
public struct HidKeyboard
{
public int Modifier;
public int[] Keys;
}
}