summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-25 19:21:08 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-25 19:21:08 +0300
commitd1153fc8c1f226d802e82cba7d11c686998a1523 (patch)
tree35f1b33a01e1ad4b32c4e7857cb58fb42b7c5103 /src/gui/sdlinput.cpp
parent7506dbed4cf9ae76058283f4abc799bdf4614b3d (diff)
downloadplus-d1153fc8c1f226d802e82cba7d11c686998a1523.tar.gz
plus-d1153fc8c1f226d802e82cba7d11c686998a1523.tar.bz2
plus-d1153fc8c1f226d802e82cba7d11c686998a1523.tar.xz
plus-d1153fc8c1f226d802e82cba7d11c686998a1523.zip
Add empty handlers for accelerometer events in Android version.
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r--src/gui/sdlinput.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index 4f5234e73..bf8bd040f 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -164,6 +164,11 @@ void SDLInput::pushInput(const SDL_Event &event)
break;
}
+#ifdef ANDROID
+ case SDL_ACCELEROMETER:
+ break;
+#endif
+
case SDL_MOUSEBUTTONDOWN:
mMouseDown = true;
mouseInput.setX(event.button.x);