From 8d300b2d7ea08e213d811edca706ca4b8cf3e69a Mon Sep 17 00:00:00 2001 From: mailwl Date: Tue, 6 Feb 2018 10:26:33 +0300 Subject: Service/hid: stub SetNpadHandheldActivationMode --- src/core/hle/service/hid/hid.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/core/hle/service/hid') 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: {103, &Hid::ActivateNpad, "ActivateNpad"}, {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, {124, nullptr, "SetNpadJoyAssignmentModeDual"}, + {128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"}, {203, &Hid::CreateActiveVibrationDeviceList, "CreateActiveVibrationDeviceList"}, }; RegisterHandlers(functions); @@ -243,6 +244,12 @@ private: LOG_WARNING(Service_HID, "(STUBBED) called"); } + void SetNpadHandheldActivationMode(Kernel::HLERequestContext& ctx) { + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + LOG_WARNING(Service_HID, "(STUBBED) called"); + } + void CreateActiveVibrationDeviceList(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); -- cgit v1.2.3