1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 06:56:39 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Hid/HidNpad.cs
Ac_K e77c1560e6 Full 5.X stubbed IHidServer (#428)
* Full 5.X stubbed IHidServer

Since we can't support all those Hid calls in the right way, we can stub them with more information as possible in the logs.
I have added all symbols in it to be more revelant as possible.
It's remove some Hid spam in few games too, because we assign some var as the game want.

* Fix issues

* Fix code according to review
2018-09-21 02:08:35 +02:00

41 lines
642 B
C#

using System;
namespace Ryujinx.HLE.HOS.Services.Hid
{
public enum HidNpadJoyAssignmentMode
{
Dual,
Single,
}
public enum HidNpadHandheldActivationMode
{
Dual,
Single,
None,
}
public enum HidNpadJoyDeviceType
{
Left,
Right,
}
public enum HidNpadJoyHoldType
{
Vertical,
Horizontal,
}
[Flags]
public enum HidNpadStyle
{
None,
FullKey = 1 << 0,
Handheld = 1 << 1,
Dual = 1 << 2,
Left = 1 << 3,
Right = 1 << 4,
Invalid = 1 << 5,
}
}