summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-16 15:58:05 +0100
committerGitHub <noreply@github.com>2018-11-16 15:58:05 +0100
commite15683429709352d31585fc718bcffe36de99deb (patch)
tree15e194f13b0ec465d9adbf6a0763b51a6c08bcc8 /src
parentMerge pull request #1709 from ogniK5377/docked-mode-crash (diff)
parentAdded SetIsPalmaAllConnectable, SetPalmaBoostMode (diff)
downloadyuzu-e15683429709352d31585fc718bcffe36de99deb.tar
yuzu-e15683429709352d31585fc718bcffe36de99deb.tar.gz
yuzu-e15683429709352d31585fc718bcffe36de99deb.tar.bz2
yuzu-e15683429709352d31585fc718bcffe36de99deb.tar.lz
yuzu-e15683429709352d31585fc718bcffe36de99deb.tar.xz
yuzu-e15683429709352d31585fc718bcffe36de99deb.tar.zst
yuzu-e15683429709352d31585fc718bcffe36de99deb.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/hid/hid.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index a45fd4954..39631b14f 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -286,10 +286,10 @@ public:
{519, nullptr, "GetPalmaOperationResult"},
{520, nullptr, "ReadPalmaPlayLog"},
{521, nullptr, "ResetPalmaPlayLog"},
- {522, nullptr, "SetIsPalmaAllConnectable"},
+ {522, &Hid::SetIsPalmaAllConnectable, "SetIsPalmaAllConnectable"},
{523, nullptr, "SetIsPalmaPairedConnectable"},
{524, nullptr, "PairPalma"},
- {525, nullptr, "SetPalmaBoostMode"},
+ {525, &Hid::SetPalmaBoostMode, "SetPalmaBoostMode"},
{1000, nullptr, "SetNpadCommunicationMode"},
{1001, nullptr, "GetNpadCommunicationMode"},
};
@@ -596,6 +596,18 @@ private:
rb.Push(RESULT_SUCCESS);
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> {