service: hid: Implement NpadResource and NpadData

This commit is contained in:
Narr the Reg 2024-01-01 15:23:56 -06:00
parent d8db5c2032
commit 1f0a03d1e0
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;
}