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