diff options
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r-- | src/input/inputmanager.cpp | 4 |
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; } |