diff options
author | Viktor Szépe <viktor@szepe.net> | 2024-01-16 01:09:25 +0100 |
---|---|---|
committer | Viktor Szépe <viktor@szepe.net> | 2024-01-16 01:09:25 +0100 |
commit | 16abda59be449484898fdcc55f8f0682ff1cff7d (patch) | |
tree | e5552e7f82ccb37b611a3a577f94c91f9c813320 /src/hid_core/resources/npad/npad_vibration.cpp | |
parent | Merge remote-tracking branch 'origin/master' into typos3 (diff) | |
download | yuzu-16abda59be449484898fdcc55f8f0682ff1cff7d.tar yuzu-16abda59be449484898fdcc55f8f0682ff1cff7d.tar.gz yuzu-16abda59be449484898fdcc55f8f0682ff1cff7d.tar.bz2 yuzu-16abda59be449484898fdcc55f8f0682ff1cff7d.tar.lz yuzu-16abda59be449484898fdcc55f8f0682ff1cff7d.tar.xz yuzu-16abda59be449484898fdcc55f8f0682ff1cff7d.tar.zst yuzu-16abda59be449484898fdcc55f8f0682ff1cff7d.zip |
Diffstat (limited to 'src/hid_core/resources/npad/npad_vibration.cpp')
-rw-r--r-- | src/hid_core/resources/npad/npad_vibration.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hid_core/resources/npad/npad_vibration.cpp b/src/hid_core/resources/npad/npad_vibration.cpp index 3bdd55dec..7056e8eab 100644 --- a/src/hid_core/resources/npad/npad_vibration.cpp +++ b/src/hid_core/resources/npad/npad_vibration.cpp @@ -15,7 +15,7 @@ Result NpadVibration::Activate() { const f32 master_volume = 1.0f; // nn::settings::system::GetVibrationMasterVolume(); // if (master_volume < 0.0f || master_volume > 1.0f) { - // return ResultVibrationStrenghtOutOfRange; + // return ResultVibrationStrengthOutOfRange; // } volume = master_volume; @@ -30,7 +30,7 @@ Result NpadVibration::SetVibrationMasterVolume(f32 master_volume) { std::scoped_lock lock{mutex}; if (master_volume < 0.0f && master_volume > 1.0f) { - return ResultVibrationStrenghtOutOfRange; + return ResultVibrationStrengthOutOfRange; } volume = master_volume; @@ -50,7 +50,7 @@ Result NpadVibration::GetVibrationMasterVolume(f32& out_volume) const { const f32 master_volume = 1.0f; // nn::settings::system::GetVibrationMasterVolume(); // if (master_volume < 0.0f || master_volume > 1.0f) { - // return ResultVibrationStrenghtOutOfRange; + // return ResultVibrationStrengthOutOfRange; // } out_volume = master_volume; @@ -69,7 +69,7 @@ Result NpadVibration::EndPermitVibrationSession() { const f32 master_volume = 1.0f; // nn::settings::system::GetVibrationMasterVolume(); // if (master_volume < 0.0f || master_volume > 1.0f) { - // return ResultVibrationStrenghtOutOfRange; + // return ResultVibrationStrengthOutOfRange; // } volume = master_volume; |