Make consistent settings values between qt and sdl

This commit is contained in:
Anon 2016-12-17 10:29:31 -06:00
parent 81be512755
commit d8f6dfc70d
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ void Config::ReadValues() {
Settings::values.pad_circle_modifier_scale =
(float)sdl2_config->GetReal("Controls", "pad_circle_modifier_scale", 0.5);
Settings::values.pad_circle_deadzone =
(float)sdl2_config->GetReal("Controls", "pad_circle_deadzone", 0.4);
(float)sdl2_config->GetReal("Controls", "pad_circle_deadzone", 0.3);
// Core
Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true);

View File

@ -38,7 +38,7 @@ pad_circle_modifier =
pad_circle_modifier_scale =
# Deadzone applied to the circle pad.
# Must be in range of 0.0 - 1.0. Defaults to 0.4
# Must be in range of 0.0 - 1.0. Defaults to 0.3
pad_circle_deadzone =
[Core]

View File

@ -37,7 +37,7 @@ void Config::ReadValues() {
Settings::values.pad_circle_modifier = Settings::InputDeviceMapping(
qt_config->value("pad_circle_modifier", 0).toString().toStdString());
Settings::values.pad_circle_modifier_scale =
qt_config->value("pad_circle_modifier_scale", 0.4).toFloat();
qt_config->value("pad_circle_modifier_scale", 0.5).toFloat();
Settings::values.pad_circle_deadzone = qt_config->value("pad_circle_deadzone", 0.3f).toFloat();
qt_config->endGroup();