aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Hid/ResultCode.cs
blob: 488356d442d542b45f56f5cbf9350a3e56e5b0a4 (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,
    }
}