summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-10-15 20:35:35 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-11-16 05:33:20 +0100
commit92fa5257c762f631c64cbc8a60870af7deaf2ead (patch)
treefcddf1f601e75b391c246ac46b6d4591395e9dc8 /src/core/hle/service/hid/hid.cpp
parentcontrollers/npad: Send an empty vibration on destruction/deactivation (diff)
downloadyuzu-92fa5257c762f631c64cbc8a60870af7deaf2ead.tar
yuzu-92fa5257c762f631c64cbc8a60870af7deaf2ead.tar.gz
yuzu-92fa5257c762f631c64cbc8a60870af7deaf2ead.tar.bz2
yuzu-92fa5257c762f631c64cbc8a60870af7deaf2ead.tar.lz
yuzu-92fa5257c762f631c64cbc8a60870af7deaf2ead.tar.xz
yuzu-92fa5257c762f631c64cbc8a60870af7deaf2ead.tar.zst
yuzu-92fa5257c762f631c64cbc8a60870af7deaf2ead.zip
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 878f20bd2..e88f30d6a 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -1112,18 +1112,15 @@ void Hid::BeginPermitVibrationSession(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto applet_resource_user_id{rp.Pop<u64>()};
- applet_resource->GetController<Controller_NPad>(HidController::NPad).SetVibrationEnabled(true);
-
- LOG_DEBUG(Service_HID, "called, applet_resource_user_id={}", applet_resource_user_id);
+ LOG_WARNING(Service_HID, "(STUBBED) called, applet_resource_user_id={}",
+ applet_resource_user_id);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
void Hid::EndPermitVibrationSession(Kernel::HLERequestContext& ctx) {
- applet_resource->GetController<Controller_NPad>(HidController::NPad).SetVibrationEnabled(false);
-
- LOG_DEBUG(Service_HID, "called");
+ LOG_WARNING(Service_HID, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);