mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-03 09:15:41 -04:00
AnalogController: Fix default value of vibration bias
This commit is contained in:
parent
e6bff275a6
commit
7c55940fa8
@ -533,5 +533,5 @@ void AnalogController::LoadSettings(const char* section)
|
|||||||
Controller::LoadSettings(section);
|
Controller::LoadSettings(section);
|
||||||
m_auto_enable_analog = g_host_interface->GetBoolSettingValue(section, "AutoEnableAnalog", false);
|
m_auto_enable_analog = g_host_interface->GetBoolSettingValue(section, "AutoEnableAnalog", false);
|
||||||
m_rumble_bias =
|
m_rumble_bias =
|
||||||
static_cast<u8>(std::min<u32>(g_host_interface->GetIntSettingValue(section, "VibrationBias", false), 255));
|
static_cast<u8>(std::min<u32>(g_host_interface->GetIntSettingValue(section, "VibrationBias", 8), 255));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user