mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 18:35:45 -04:00
AnalogController: Fix default value of vibration bias
This commit is contained in:
@ -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));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user