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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 12831560a..0f250dae6 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -563,11 +563,13 @@ bool InputManager::handleEvent(const SDL_Event &event)
break;
}
#ifdef ANDROID
+#ifndef USE_SDL2
case SDL_ACCELEROMETER:
{
break;
}
#endif
+#endif
default:
break;
}
@@ -604,11 +606,13 @@ bool InputManager::handleEvent(const SDL_Event &event)
}
break;
#ifdef ANDROID
+#ifndef USE_SDL2
case SDL_ACCELEROMETER:
{
break;
}
#endif
+#endif
default:
break;
}