yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #1710 from ogniK5377/palma-lets-go

Added SetIsPalmaAllConnectable, SetPalmaBoostMode
This commit is contained in:
bunnei 2018-11-16 06:58:05 -08:00 committed by GitHub
commit e156834297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 2 deletions

View File

@ -286,10 +286,10 @@ public:
{519, nullptr, "GetPalmaOperationResult"}, {519, nullptr, "GetPalmaOperationResult"},
{520, nullptr, "ReadPalmaPlayLog"}, {520, nullptr, "ReadPalmaPlayLog"},
{521, nullptr, "ResetPalmaPlayLog"}, {521, nullptr, "ResetPalmaPlayLog"},
{522, nullptr, "SetIsPalmaAllConnectable"}, {522, &Hid::SetIsPalmaAllConnectable, "SetIsPalmaAllConnectable"},
{523, nullptr, "SetIsPalmaPairedConnectable"}, {523, nullptr, "SetIsPalmaPairedConnectable"},
{524, nullptr, "PairPalma"}, {524, nullptr, "PairPalma"},
{525, nullptr, "SetPalmaBoostMode"}, {525, &Hid::SetPalmaBoostMode, "SetPalmaBoostMode"},
{1000, nullptr, "SetNpadCommunicationMode"}, {1000, nullptr, "SetNpadCommunicationMode"},
{1001, nullptr, "GetNpadCommunicationMode"}, {1001, nullptr, "GetNpadCommunicationMode"},
}; };
@ -596,6 +596,18 @@ private:
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
LOG_WARNING(Service_HID, "(STUBBED) called"); LOG_WARNING(Service_HID, "(STUBBED) called");
} }
void SetIsPalmaAllConnectable(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
LOG_WARNING(Service_HID, "(STUBBED) called");
}
void SetPalmaBoostMode(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
LOG_WARNING(Service_HID, "(STUBBED) called");
}
}; };
class HidDbg final : public ServiceFramework<HidDbg> { class HidDbg final : public ServiceFramework<HidDbg> {