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