From eeb40fb079971ece6288e5210e42a9cc3fc95790 Mon Sep 17 00:00:00 2001 From: cpasjuste Date: Wed, 22 Apr 2020 18:19:18 +0200 Subject: switch: enable joystick and mouse --- src/defaults.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/defaults.cpp') 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); -- cgit v1.2.3-70-g09d2