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