settings: Remove global vibration strength modifier
This will be replaced in favor of per-player vibration strength modifiers.
This commit is contained in:
parent
92fa5257c7
commit
d6a41cfc21
9 changed files with 1 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue