config: Enable docked mode by default
This commit is contained in:
parent
fe9588f4a0
commit
05f58144c9
@ -514,7 +514,7 @@ void Config::ReadControlValues() {
|
|||||||
Settings::values.emulate_analog_keyboard =
|
Settings::values.emulate_analog_keyboard =
|
||||||
ReadSetting(QStringLiteral("emulate_analog_keyboard"), false).toBool();
|
ReadSetting(QStringLiteral("emulate_analog_keyboard"), false).toBool();
|
||||||
|
|
||||||
ReadSettingGlobal(Settings::values.use_docked_mode, QStringLiteral("use_docked_mode"), false);
|
ReadSettingGlobal(Settings::values.use_docked_mode, QStringLiteral("use_docked_mode"), true);
|
||||||
ReadSettingGlobal(Settings::values.vibration_enabled, QStringLiteral("vibration_enabled"),
|
ReadSettingGlobal(Settings::values.vibration_enabled, QStringLiteral("vibration_enabled"),
|
||||||
true);
|
true);
|
||||||
ReadSettingGlobal(Settings::values.enable_accurate_vibrations,
|
ReadSettingGlobal(Settings::values.enable_accurate_vibrations,
|
||||||
@ -1176,7 +1176,7 @@ void Config::SaveControlValues() {
|
|||||||
SaveTouchscreenValues();
|
SaveTouchscreenValues();
|
||||||
SaveMotionTouchValues();
|
SaveMotionTouchValues();
|
||||||
|
|
||||||
WriteSettingGlobal(QStringLiteral("use_docked_mode"), Settings::values.use_docked_mode, false);
|
WriteSettingGlobal(QStringLiteral("use_docked_mode"), Settings::values.use_docked_mode, true);
|
||||||
WriteSettingGlobal(QStringLiteral("vibration_enabled"), Settings::values.vibration_enabled,
|
WriteSettingGlobal(QStringLiteral("vibration_enabled"), Settings::values.vibration_enabled,
|
||||||
true);
|
true);
|
||||||
WriteSettingGlobal(QStringLiteral("enable_accurate_vibrations"),
|
WriteSettingGlobal(QStringLiteral("enable_accurate_vibrations"),
|
||||||
|
@ -344,7 +344,7 @@ void Config::ReadValues() {
|
|||||||
|
|
||||||
// System
|
// System
|
||||||
Settings::values.use_docked_mode.SetValue(
|
Settings::values.use_docked_mode.SetValue(
|
||||||
sdl2_config->GetBoolean("System", "use_docked_mode", false));
|
sdl2_config->GetBoolean("System", "use_docked_mode", true));
|
||||||
|
|
||||||
Settings::values.current_user = std::clamp<int>(
|
Settings::values.current_user = std::clamp<int>(
|
||||||
sdl2_config->GetInteger("System", "current_user", 0), 0, Service::Account::MAX_USERS - 1);
|
sdl2_config->GetInteger("System", "current_user", 0), 0, Service::Account::MAX_USERS - 1);
|
||||||
|
@ -274,7 +274,7 @@ gamecard_path =
|
|||||||
|
|
||||||
[System]
|
[System]
|
||||||
# Whether the system is docked
|
# Whether the system is docked
|
||||||
# 1: Yes, 0 (default): No
|
# 1 (default): Yes, 0: No
|
||||||
use_docked_mode =
|
use_docked_mode =
|
||||||
|
|
||||||
# Allow the use of NFC in games
|
# Allow the use of NFC in games
|
||||||
|
@ -86,7 +86,7 @@ void Config::ReadValues() {
|
|||||||
Settings::values.touchscreen.diameter_y = 15;
|
Settings::values.touchscreen.diameter_y = 15;
|
||||||
|
|
||||||
Settings::values.use_docked_mode.SetValue(
|
Settings::values.use_docked_mode.SetValue(
|
||||||
sdl2_config->GetBoolean("Controls", "use_docked_mode", false));
|
sdl2_config->GetBoolean("Controls", "use_docked_mode", true));
|
||||||
|
|
||||||
// Data Storage
|
// Data Storage
|
||||||
Settings::values.use_virtual_sd =
|
Settings::values.use_virtual_sd =
|
||||||
|
@ -116,7 +116,7 @@ use_virtual_sd =
|
|||||||
|
|
||||||
[System]
|
[System]
|
||||||
# Whether the system is docked
|
# Whether the system is docked
|
||||||
# 1: Yes, 0 (default): No
|
# 1 (default): Yes, 0: No
|
||||||
use_docked_mode =
|
use_docked_mode =
|
||||||
|
|
||||||
# Allow the use of NFC in games
|
# Allow the use of NFC in games
|
||||||
|
Loading…
Reference in New Issue
Block a user