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