summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorcpasjuste <cpasjuste@gmail.com>2020-04-22 18:19:18 +0200
committercpasjuste <cpasjuste@gmail.com>2020-04-22 18:19:18 +0200
commiteeb40fb079971ece6288e5210e42a9cc3fc95790 (patch)
tree0c9a1e45861dbdec7a344b6280831527f71f5ca2 /src/defaults.cpp
parentf43e3aa48aeb561f5c7e85f1b7121aab6a61decd (diff)
downloadManaVerse-eeb40fb079971ece6288e5210e42a9cc3fc95790.tar.gz
ManaVerse-eeb40fb079971ece6288e5210e42a9cc3fc95790.tar.bz2
ManaVerse-eeb40fb079971ece6288e5210e42a9cc3fc95790.tar.xz
ManaVerse-eeb40fb079971ece6288e5210e42a9cc3fc95790.zip
switch: enable joystick and mouse
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 0907e15d7..794e5698c 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -176,7 +176,11 @@ void setConfigDefaults(Configuration &cfg)
AddDEF("screenshotDirectory3", "");
AddDEF("useScreenshotDirectorySuffix", true);
AddDEF("screenshotDirectorySuffix", "");
+#ifdef __SWITCH__
+ AddDEF("joystickEnabled", true);
+#else
AddDEF("joystickEnabled", false);
+#endif
AddDEF("upTolerance", 100);
AddDEF("downTolerance", 100);
AddDEF("leftTolerance", 100);