summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorcpasjuste <cpasjuste@gmail.com>2020-04-23 09:56:49 +0200
committercpasjuste <cpasjuste@gmail.com>2020-04-23 09:56:49 +0200
commit177077c6563245504e4aa443cce3bdba7c65db42 (patch)
treea2ce14abef48e684b2a52f7da6661449a113c6bb /src/defaults.cpp
parent94162704b6ffe557b65d70faa4b82e082039f75e (diff)
downloadmanaverse-177077c6563245504e4aa443cce3bdba7c65db42.tar.gz
manaverse-177077c6563245504e4aa443cce3bdba7c65db42.tar.bz2
manaverse-177077c6563245504e4aa443cce3bdba7c65db42.tar.xz
manaverse-177077c6563245504e4aa443cce3bdba7c65db42.zip
switch: enable sound and keyboard button by default, disable joysticks for now
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 794e5698c..b566c3206 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -153,7 +153,11 @@ void setConfigDefaults(Configuration &cfg)
AddDEF("showScreenButtons", false);
AddDEF("showBeingPopup", true);
AddDEF("mouseDirectionMove", false);
+#ifdef __SWITCH__
+ AddDEF("showScreenKeyboard", true);
+#else
AddDEF("showScreenKeyboard", false);
+#endif
AddDEF("fpslimit", 60);
AddDEF("showChatColorsList", true);
AddDEF("customcursor", true);
@@ -165,7 +169,11 @@ void setConfigDefaults(Configuration &cfg)
AddDEF("showEmotesButton", true);
AddDEF("screen", false);
AddDEF("hwaccel", false);
+#ifdef __SWITCH__
+ AddDEF("sound", true);
+#else
AddDEF("sound", false);
+#endif
AddDEF("sfxVolume", 100);
AddDEF("musicVolume", 60);
AddDEF("remember", false);
@@ -177,7 +185,7 @@ void setConfigDefaults(Configuration &cfg)
AddDEF("useScreenshotDirectorySuffix", true);
AddDEF("screenshotDirectorySuffix", "");
#ifdef __SWITCH__
- AddDEF("joystickEnabled", true);
+ AddDEF("joystickEnabled", false);
#else
AddDEF("joystickEnabled", false);
#endif