summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2018-04-13 10:58:03 -0400
committerGravatar GitHub2018-04-13 10:58:03 -0400
commitc6ab2c94d9fd7e82d780e0598bfe8c982661d1aa (patch)
treee9eee58f7e3daf95fdd621e1634bd7597f818019
parentMerge pull request #325 from Hexagon12/ipc-value-fix (diff)
parentStubbed out GetPlayerLedPattern (diff)
downloadyuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.tar.gz
yuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.tar.xz
yuzu-c6ab2c94d9fd7e82d780e0598bfe8c982661d1aa.zip
Merge pull request #323 from Hexagon12/stub-hid
Service/HID: Stubbed out GetPlayerLedPattern
Diffstat (limited to '')
-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:
237 {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, 237 {106, &Hid::AcquireNpadStyleSetUpdateEventHandle,
238 "AcquireNpadStyleSetUpdateEventHandle"}, 238 "AcquireNpadStyleSetUpdateEventHandle"},
239 {107, nullptr, "DisconnectNpad"}, 239 {107, nullptr, "DisconnectNpad"},
240 {108, nullptr, "GetPlayerLedPattern"}, 240 {108, &Hid::GetPlayerLedPattern, "GetPlayerLedPattern"},
241 {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, 241 {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"},
242 {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"}, 242 {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"},
243 {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, 243 {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault,
@@ -358,6 +358,12 @@ private:
358 LOG_WARNING(Service_HID, "(STUBBED) called"); 358 LOG_WARNING(Service_HID, "(STUBBED) called");
359 } 359 }
360 360
361 void GetPlayerLedPattern(Kernel::HLERequestContext& ctx) {
362 IPC::ResponseBuilder rb{ctx, 2};
363 rb.Push(RESULT_SUCCESS);
364 LOG_WARNING(Service_HID, "(STUBBED) called");
365 }
366
361 void SetNpadJoyHoldType(Kernel::HLERequestContext& ctx) { 367 void SetNpadJoyHoldType(Kernel::HLERequestContext& ctx) {
362 IPC::ResponseBuilder rb{ctx, 2}; 368 IPC::ResponseBuilder rb{ctx, 2};
363 rb.Push(RESULT_SUCCESS); 369 rb.Push(RESULT_SUCCESS);