diff options
author | bunnei <bunneidev@gmail.com> | 2018-02-06 16:36:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 16:36:17 +0100 |
commit | 2b75b52489a0976db9805d5196900c0bf1804662 (patch) | |
tree | a847157daf8441800202d1ea6baed4c6ba6f41b3 | |
parent | Merge pull request #165 from bunnei/puyo-fixes (diff) | |
parent | Service/hid: stub SetNpadHandheldActivationMode (diff) | |
download | yuzu-2b75b52489a0976db9805d5196900c0bf1804662.tar yuzu-2b75b52489a0976db9805d5196900c0bf1804662.tar.gz yuzu-2b75b52489a0976db9805d5196900c0bf1804662.tar.bz2 yuzu-2b75b52489a0976db9805d5196900c0bf1804662.tar.lz yuzu-2b75b52489a0976db9805d5196900c0bf1804662.tar.xz yuzu-2b75b52489a0976db9805d5196900c0bf1804662.tar.zst yuzu-2b75b52489a0976db9805d5196900c0bf1804662.zip |
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 7 |
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: {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); |