summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-25 09:14:57 +0200
committerbunnei <bunneidev@gmail.com>2018-03-25 09:24:05 +0200
commitbde3e667beb9374c67f67e9535cb112646edb2cc (patch)
tree8ea31b56f2360b90f22a1267e8bec7108b72d125 /src/core
parentpl_u: Add RequestLoad. (diff)
downloadyuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.tar
yuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.tar.gz
yuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.tar.bz2
yuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.tar.lz
yuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.tar.xz
yuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.tar.zst
yuzu-bde3e667beb9374c67f67e9535cb112646edb2cc.zip
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 7e04ad8d4..a0b8c6243 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -193,7 +193,7 @@ public:
{121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"},
{122, &Hid::SetNpadJoyAssignmentModeSingleByDefault,
"SetNpadJoyAssignmentModeSingleByDefault"},
- {124, nullptr, "SetNpadJoyAssignmentModeDual"},
+ {124, &Hid::SetNpadJoyAssignmentModeDual, "SetNpadJoyAssignmentModeDual"},
{128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"},
{200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"},
{201, &Hid::SendVibrationValue, "SendVibrationValue"},
@@ -315,6 +315,12 @@ private:
LOG_WARNING(Service_HID, "(STUBBED) called");
}
+ void SetNpadJoyAssignmentModeDual(Kernel::HLERequestContext& ctx) {
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ LOG_WARNING(Service_HID, "(STUBBED) called");
+ }
+
void SetNpadHandheldActivationMode(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);