summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar mailwl2018-02-06 10:26:33 +0300
committerGravatar mailwl2018-02-06 10:47:00 +0300
commit8d300b2d7ea08e213d811edca706ca4b8cf3e69a (patch)
treea847157daf8441800202d1ea6baed4c6ba6f41b3 /src
parentMerge pull request #165 from bunnei/puyo-fixes (diff)
downloadyuzu-8d300b2d7ea08e213d811edca706ca4b8cf3e69a.tar.gz
yuzu-8d300b2d7ea08e213d811edca706ca4b8cf3e69a.tar.xz
yuzu-8d300b2d7ea08e213d811edca706ca4b8cf3e69a.zip
Service/hid: stub SetNpadHandheldActivationMode
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/hid/hid.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 9c2e405ee..3e35f5999 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -181,6 +181,7 @@ public:
181 {103, &Hid::ActivateNpad, "ActivateNpad"}, 181 {103, &Hid::ActivateNpad, "ActivateNpad"},
182 {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, 182 {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"},
183 {124, nullptr, "SetNpadJoyAssignmentModeDual"}, 183 {124, nullptr, "SetNpadJoyAssignmentModeDual"},
184 {128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"},
184 {203, &Hid::CreateActiveVibrationDeviceList, "CreateActiveVibrationDeviceList"}, 185 {203, &Hid::CreateActiveVibrationDeviceList, "CreateActiveVibrationDeviceList"},
185 }; 186 };
186 RegisterHandlers(functions); 187 RegisterHandlers(functions);
@@ -243,6 +244,12 @@ private:
243 LOG_WARNING(Service_HID, "(STUBBED) called"); 244 LOG_WARNING(Service_HID, "(STUBBED) called");
244 } 245 }
245 246
247 void SetNpadHandheldActivationMode(Kernel::HLERequestContext& ctx) {
248 IPC::ResponseBuilder rb{ctx, 2};
249 rb.Push(RESULT_SUCCESS);
250 LOG_WARNING(Service_HID, "(STUBBED) called");
251 }
252
246 void CreateActiveVibrationDeviceList(Kernel::HLERequestContext& ctx) { 253 void CreateActiveVibrationDeviceList(Kernel::HLERequestContext& ctx) {
247 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 254 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
248 rb.Push(RESULT_SUCCESS); 255 rb.Push(RESULT_SUCCESS);