summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-13 16:58:03 +0200
committerGitHub <noreply@github.com>2018-04-13 16:58:03 +0200
commitc6ab2c94d9fd7e82d780e0598bfe8c982661d1aa (patch)
treee9eee58f7e3daf95fdd621e1634bd7597f818019 /src/core/hle/service/hid/hid.cpp
parentMerge pull request #325 from Hexagon12/ipc-value-fix (diff)
parentStubbed out GetPlayerLedPattern (diff)
downloadyuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.tar
yuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.tar.gz
yuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.tar.bz2
yuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.tar.lz
yuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.tar.xz
yuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.tar.zst
yuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.zip
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 868ac6f46..b59c52f07 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -237,7 +237,7 @@ public:
{106, &Hid::AcquireNpadStyleSetUpdateEventHandle,
"AcquireNpadStyleSetUpdateEventHandle"},
{107, nullptr, "DisconnectNpad"},
- {108, nullptr, "GetPlayerLedPattern"},
+ {108, &Hid::GetPlayerLedPattern, "GetPlayerLedPattern"},
{120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"},
{121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"},
{122, &Hid::SetNpadJoyAssignmentModeSingleByDefault,
@@ -358,6 +358,12 @@ private:
LOG_WARNING(Service_HID, "(STUBBED) called");
}
+ void GetPlayerLedPattern(Kernel::HLERequestContext& ctx) {
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ LOG_WARNING(Service_HID, "(STUBBED) called");
+ }
+
void SetNpadJoyHoldType(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);