summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-09-19 15:25:00 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-09-19 15:25:00 +0200
commitcbc7ad8f6d1c122797f016eba5bbf4898fbf20d3 (patch)
tree6e02225be2f9c3abdd69392a3aa0812a2f534da4 /src/core/hle/service/hid
parentMerge pull request #1348 from ogniK5377/GetImageSize (diff)
downloadyuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.gz
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.bz2
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.lz
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.xz
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.zst
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.zip
Diffstat (limited to 'src/core/hle/service/hid')
-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 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> {