summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-12 11:56:25 +0200
committerLioncash <mathew1800@gmail.com>2018-08-12 11:56:28 +0200
commit9e74d6238eda7d72775a379e705b772668b90651 (patch)
treec570ae90c5cd7bd66f0dd3f185d935e3ac7bef91 /src
parentMerge pull request #922 from lioncash/cmake (diff)
downloadyuzu-9e74d6238eda7d72775a379e705b772668b90651.tar
yuzu-9e74d6238eda7d72775a379e705b772668b90651.tar.gz
yuzu-9e74d6238eda7d72775a379e705b772668b90651.tar.bz2
yuzu-9e74d6238eda7d72775a379e705b772668b90651.tar.lz
yuzu-9e74d6238eda7d72775a379e705b772668b90651.tar.xz
yuzu-9e74d6238eda7d72775a379e705b772668b90651.tar.zst
yuzu-9e74d6238eda7d72775a379e705b772668b90651.zip
Diffstat (limited to 'src')
-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 dcdfa0e19..d5e65d98c 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -335,7 +335,7 @@ public:
{104, nullptr, "DeactivateNpad"},
{106, &Hid::AcquireNpadStyleSetUpdateEventHandle,
"AcquireNpadStyleSetUpdateEventHandle"},
- {107, nullptr, "DisconnectNpad"},
+ {107, &Hid::DisconnectNpad, "DisconnectNpad"},
{108, &Hid::GetPlayerLedPattern, "GetPlayerLedPattern"},
{109, nullptr, "ActivateNpadWithRevision"},
{120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"},
@@ -496,6 +496,12 @@ private:
LOG_WARNING(Service_HID, "(STUBBED) called");
}
+ void DisconnectNpad(Kernel::HLERequestContext& ctx) {
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ LOG_WARNING(Service_HID, "(STUBBED) called");
+ }
+
void GetPlayerLedPattern(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);