summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r--src/input/inputmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index b470b66ac..f6e24f904 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -88,6 +88,9 @@ InputManager::InputManager() :
void InputManager::init() restrict2
{
+#ifdef __SWITCH__
+ SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "1");
+#endif
for (size_t i = 0;
i < CAST_SIZE(InputAction::TOTAL);
i ++)