2018-09-21 00:08:35 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Hid
|
|
|
|
|
{
|
|
|
|
|
public enum HidNpadJoyAssignmentMode
|
|
|
|
|
{
|
|
|
|
|
Dual,
|
2018-12-06 11:16:24 +00:00
|
|
|
|
Single
|
2018-09-21 00:08:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum HidNpadHandheldActivationMode
|
|
|
|
|
{
|
|
|
|
|
Dual,
|
|
|
|
|
Single,
|
2018-12-06 11:16:24 +00:00
|
|
|
|
None
|
2018-09-21 00:08:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum HidNpadJoyDeviceType
|
|
|
|
|
{
|
|
|
|
|
Left,
|
2018-12-06 11:16:24 +00:00
|
|
|
|
Right
|
2018-09-21 00:08:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum HidNpadJoyHoldType
|
|
|
|
|
{
|
|
|
|
|
Vertical,
|
2018-12-06 11:16:24 +00:00
|
|
|
|
Horizontal
|
2018-09-21 00:08:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Flags]
|
|
|
|
|
public enum HidNpadStyle
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
FullKey = 1 << 0,
|
|
|
|
|
Handheld = 1 << 1,
|
|
|
|
|
Dual = 1 << 2,
|
|
|
|
|
Left = 1 << 3,
|
|
|
|
|
Right = 1 << 4,
|
2018-12-06 11:16:24 +00:00
|
|
|
|
Invalid = 1 << 5
|
2018-09-21 00:08:35 +00:00
|
|
|
|
}
|
|
|
|
|
}
|