aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Hid/ResultCode.cs
blob: 9c87ac1dc98942df1f3a37557849d35dff34cb2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace Ryujinx.HLE.HOS.Services.Hid
{
    enum ResultCode
    {
        ModuleId       = 202,
        ErrorCodeShift = 9,

        Success = 0,

        InvalidNpadDeviceType = (122 << ErrorCodeShift) | ModuleId,
        InvalidNpadIdType     = (123 << ErrorCodeShift) | ModuleId,
        InvalidDeviceIndex    = (124 << ErrorCodeShift) | ModuleId,
        InvalidBufferSize     = (131 << ErrorCodeShift) | ModuleId
    }
}