diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-19 16:01:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 16:01:36 +0200 |
commit | 8dff92c5f685115837f66282dadba24dead13eb7 (patch) | |
tree | 7fe7b71650e56a9dabe7861cbf28c78cfd16eb5d /src/core/hle/service/hid/hid.cpp | |
parent | Merge pull request #1353 from ogniK5377/remove-MakeBuilder (diff) | |
parent | Fixed GetAccountId stub, Added error code for OpenDirectory and added ActivateNpadWithRevision (diff) | |
download | yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.gz yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.bz2 yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.lz yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.xz yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.zst yuzu-8dff92c5f685115837f66282dadba24dead13eb7.zip |
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 8 |
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 256c49bfc..7c6b0a4e6 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -338,7 +338,7 @@ public: {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, "AcquireNpadStyleSetUpdateEventHandle"}, {107, &Hid::DisconnectNpad, "DisconnectNpad"}, {108, &Hid::GetPlayerLedPattern, "GetPlayerLedPattern"}, - {109, nullptr, "ActivateNpadWithRevision"}, + {109, &Hid::ActivateNpadWithRevision, "ActivateNpadWithRevision"}, {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"}, {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, "SetNpadJoyAssignmentModeSingleByDefault"}, @@ -603,6 +603,12 @@ private: rb.Push(RESULT_SUCCESS); LOG_WARNING(Service_HID, "(STUBBED) called"); } + + void ActivateNpadWithRevision(Kernel::HLERequestContext& ctx) { + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + LOG_WARNING(Service_HID, "(STUBBED) called"); + } }; class HidDbg final : public ServiceFramework<HidDbg> { |