mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-27 06:35:47 +00:00
4ad3936afd
* refactoring result codes - Add a main enum who can handle some orphalin result codes and the default `ResultCode.Success` one. - Add sub-enum by services when it's needed. - Remove some empty line. - Recast all service calls to ResultCode. - Remove some unneeded static declaration. - Delete unused `NvHelper` class. * NvResult is back * Fix
41 lines
No EOL
636 B
C#
41 lines
No EOL
636 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
|
|
}
|
|
} |