2021-06-23 20:52:55 +00:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Hid
|
|
|
|
|
{
|
|
|
|
|
enum ResultCode
|
|
|
|
|
{
|
|
|
|
|
ModuleId = 202,
|
|
|
|
|
ErrorCodeShift = 9,
|
|
|
|
|
|
|
|
|
|
Success = 0,
|
|
|
|
|
|
2021-08-04 22:39:40 +00:00
|
|
|
|
InvalidNpadDeviceType = (122 << ErrorCodeShift) | ModuleId,
|
|
|
|
|
InvalidNpadIdType = (123 << ErrorCodeShift) | ModuleId,
|
|
|
|
|
InvalidDeviceIndex = (124 << ErrorCodeShift) | ModuleId,
|
|
|
|
|
InvalidBufferSize = (131 << ErrorCodeShift) | ModuleId
|
2021-06-23 20:52:55 +00:00
|
|
|
|
}
|
|
|
|
|
}
|