mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
hid: ApplyNpadSystemCommonPolicy
We already do this specifically for homebrew, so we can keep it stubbed out for the time being
This commit is contained in:
parent
3ead4a3494
commit
db7abfecdd
1 changed files with 10 additions and 1 deletions
|
@ -1770,7 +1770,7 @@ public:
|
||||||
{232, nullptr, "GetIrSensorState"},
|
{232, nullptr, "GetIrSensorState"},
|
||||||
{233, nullptr, "GetXcdHandleForNpadWithIrSensor"},
|
{233, nullptr, "GetXcdHandleForNpadWithIrSensor"},
|
||||||
{301, nullptr, "ActivateNpadSystem"},
|
{301, nullptr, "ActivateNpadSystem"},
|
||||||
{303, nullptr, "ApplyNpadSystemCommonPolicy"},
|
{303, &HidSys::ApplyNpadSystemCommonPolicy, "ApplyNpadSystemCommonPolicy"},
|
||||||
{304, nullptr, "EnableAssigningSingleOnSlSrPress"},
|
{304, nullptr, "EnableAssigningSingleOnSlSrPress"},
|
||||||
{305, nullptr, "DisableAssigningSingleOnSlSrPress"},
|
{305, nullptr, "DisableAssigningSingleOnSlSrPress"},
|
||||||
{306, nullptr, "GetLastActiveNpad"},
|
{306, nullptr, "GetLastActiveNpad"},
|
||||||
|
@ -1949,6 +1949,15 @@ public:
|
||||||
|
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
void ApplyNpadSystemCommonPolicy(Kernel::HLERequestContext& ctx) {
|
||||||
|
// We already do this for homebrew so we can just stub it out
|
||||||
|
LOG_WARNING(Service_HID, "called");
|
||||||
|
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class HidTmp final : public ServiceFramework<HidTmp> {
|
class HidTmp final : public ServiceFramework<HidTmp> {
|
||||||
|
|
Loading…
Reference in a new issue