summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-10-11 17:25:17 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-11-16 05:33:20 +0100
commit373408ae8c565cc401770e65776cae55a3545572 (patch)
treeecd2fcb40ee6856b5bbb072427cdc4f6e35f32fb /src/core/hle/service/hid/hid.cpp
parenthid: Stub IsVibrationDeviceMounted (diff)
downloadyuzu-373408ae8c565cc401770e65776cae55a3545572.tar
yuzu-373408ae8c565cc401770e65776cae55a3545572.tar.gz
yuzu-373408ae8c565cc401770e65776cae55a3545572.tar.bz2
yuzu-373408ae8c565cc401770e65776cae55a3545572.tar.lz
yuzu-373408ae8c565cc401770e65776cae55a3545572.tar.xz
yuzu-373408ae8c565cc401770e65776cae55a3545572.tar.zst
yuzu-373408ae8c565cc401770e65776cae55a3545572.zip
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 89327cd86..878f20bd2 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -1022,7 +1022,7 @@ void Hid::SendVibrationValue(Kernel::HLERequestContext& ctx) {
const auto parameters{rp.PopRaw<Parameters>()};
applet_resource->GetController<Controller_NPad>(HidController::NPad)
- .VibrateController({parameters.vibration_device_handle}, {parameters.vibration_value});
+ .VibrateControllers({parameters.vibration_device_handle}, {parameters.vibration_value});
LOG_DEBUG(Service_HID,
"called, npad_type={}, npad_id={}, device_index={}, applet_resource_user_id={}",
@@ -1100,7 +1100,7 @@ void Hid::SendVibrationValues(Kernel::HLERequestContext& ctx) {
std::memcpy(vibration_values.data(), vibrations.data(), vibrations.size());
applet_resource->GetController<Controller_NPad>(HidController::NPad)
- .VibrateController(vibration_device_handles, vibration_values);
+ .VibrateControllers(vibration_device_handles, vibration_values);
LOG_DEBUG(Service_HID, "called, applet_resource_user_id={}", applet_resource_user_id);