diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-25 19:21:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-25 19:21:08 +0300 |
commit | d1153fc8c1f226d802e82cba7d11c686998a1523 (patch) | |
tree | 35f1b33a01e1ad4b32c4e7857cb58fb42b7c5103 /src/inputmanager.cpp | |
parent | 7506dbed4cf9ae76058283f4abc799bdf4614b3d (diff) | |
download | manaplus-d1153fc8c1f226d802e82cba7d11c686998a1523.tar.gz manaplus-d1153fc8c1f226d802e82cba7d11c686998a1523.tar.bz2 manaplus-d1153fc8c1f226d802e82cba7d11c686998a1523.tar.xz manaplus-d1153fc8c1f226d802e82cba7d11c686998a1523.zip |
Add empty handlers for accelerometer events in Android version.
Diffstat (limited to 'src/inputmanager.cpp')
-rw-r--r-- | src/inputmanager.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/inputmanager.cpp b/src/inputmanager.cpp index 38a743822..cd72f0ad5 100644 --- a/src/inputmanager.cpp +++ b/src/inputmanager.cpp @@ -487,6 +487,12 @@ bool InputManager::handleEvent(const SDL_Event &event) // joystick.handleDeActicateButton(event); break; } +#ifdef ANDROID + case SDL_ACCELEROMETER: + { + break; + } +#endif default: break; } @@ -522,6 +528,12 @@ bool InputManager::handleEvent(const SDL_Event &event) return true; } break; +#ifdef ANDROID + case SDL_ACCELEROMETER: + { + break; + } +#endif default: break; } |