summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-03-25 03:14:57 -0400
committerGravatar bunnei2018-03-25 03:24:05 -0400
commitbde3e667beb9374c67f67e9535cb112646edb2cc (patch)
tree8ea31b56f2360b90f22a1267e8bec7108b72d125 /src
parentpl_u: Add RequestLoad. (diff)
downloadyuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.tar.gz
yuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.tar.xz
yuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.zip
hid: Stub out SetNpadJoyAssignmentModeDual.
Diffstat (limited to 'src')
-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 7e04ad8d4..a0b8c6243 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -193,7 +193,7 @@ public:
193 {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"}, 193 {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"},
194 {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, 194 {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault,
195 "SetNpadJoyAssignmentModeSingleByDefault"}, 195 "SetNpadJoyAssignmentModeSingleByDefault"},
196 {124, nullptr, "SetNpadJoyAssignmentModeDual"}, 196 {124, &Hid::SetNpadJoyAssignmentModeDual, "SetNpadJoyAssignmentModeDual"},
197 {128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"}, 197 {128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"},
198 {200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"}, 198 {200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"},
199 {201, &Hid::SendVibrationValue, "SendVibrationValue"}, 199 {201, &Hid::SendVibrationValue, "SendVibrationValue"},
@@ -315,6 +315,12 @@ private:
315 LOG_WARNING(Service_HID, "(STUBBED) called"); 315 LOG_WARNING(Service_HID, "(STUBBED) called");
316 } 316 }
317 317
318 void SetNpadJoyAssignmentModeDual(Kernel::HLERequestContext& ctx) {
319 IPC::ResponseBuilder rb{ctx, 2};
320 rb.Push(RESULT_SUCCESS);
321 LOG_WARNING(Service_HID, "(STUBBED) called");
322 }
323
318 void SetNpadHandheldActivationMode(Kernel::HLERequestContext& ctx) { 324 void SetNpadHandheldActivationMode(Kernel::HLERequestContext& ctx) {
319 IPC::ResponseBuilder rb{ctx, 2}; 325 IPC::ResponseBuilder rb{ctx, 2};
320 rb.Push(RESULT_SUCCESS); 326 rb.Push(RESULT_SUCCESS);