service: hid: Implement NpadResource and NpadData

This commit is contained in:
Narr the Reg
2024-01-01 15:23:56 -06:00
parent 148ad0cf0b
commit 6a244465ce
19 changed files with 1929 additions and 675 deletions

View File

@@ -315,7 +315,7 @@ void IRS::GetNpadIrCameraHandle(HLERequestContext& ctx) {
if (npad_id > Core::HID::NpadIdType::Player8 && npad_id != Core::HID::NpadIdType::Invalid &&
npad_id != Core::HID::NpadIdType::Handheld) {
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(Service::HID::InvalidNpadId);
rb.Push(Service::HID::ResultInvalidNpadId);
return;
}