mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-19 15:08:04 -05:00
settings: Remove global vibration strength modifier
This will be replaced in favor of per-player vibration strength modifiers.
This commit is contained in:
@ -684,9 +684,7 @@ bool Controller_NPad::VibrateControllerAtIndex(std::size_t npad_index,
|
||||
const auto& button_state = buttons[npad_index];
|
||||
|
||||
return button_state[A - BUTTON_HID_BEGIN]->SetRumblePlay(
|
||||
vibration_value.amp_low * Settings::values.vibration_strength.GetValue() / 100,
|
||||
vibration_value.freq_low,
|
||||
vibration_value.amp_high * Settings::values.vibration_strength.GetValue() / 100,
|
||||
vibration_value.amp_low, vibration_value.freq_low, vibration_value.amp_high,
|
||||
vibration_value.freq_high);
|
||||
}
|
||||
|
||||
|
@ -150,7 +150,6 @@ void RestoreGlobalState() {
|
||||
values.players.SetGlobal(true);
|
||||
values.use_docked_mode.SetGlobal(true);
|
||||
values.vibration_enabled.SetGlobal(true);
|
||||
values.vibration_strength.SetGlobal(true);
|
||||
values.motion_enabled.SetGlobal(true);
|
||||
}
|
||||
|
||||
|
@ -170,7 +170,6 @@ struct Values {
|
||||
Setting<bool> use_docked_mode;
|
||||
|
||||
Setting<bool> vibration_enabled;
|
||||
Setting<int> vibration_strength;
|
||||
|
||||
Setting<bool> motion_enabled;
|
||||
std::string motion_device;
|
||||
|
Reference in New Issue
Block a user