summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-07 01:15:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-07 01:15:15 +0300
commit008a29a3fbcf282d1bed8ce4a9bdfb665defd943 (patch)
tree72a43c916b59b0e1401423d80bc2dea78c1e0618 /src/client.cpp
parent577ecda421be086b8cd501b21a2d5d40c0fd2ff8 (diff)
downloadManaVerse-008a29a3fbcf282d1bed8ce4a9bdfb665defd943.tar.gz
ManaVerse-008a29a3fbcf282d1bed8ce4a9bdfb665defd943.tar.bz2
ManaVerse-008a29a3fbcf282d1bed8ce4a9bdfb665defd943.tar.xz
ManaVerse-008a29a3fbcf282d1bed8ce4a9bdfb665defd943.zip
Add active event to input event logger.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 3358287a1..ef4c2fd53 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2866,6 +2866,9 @@ void Client::logEvent(const SDL_Event &event)
case SDL_USEREVENT:
logger->log("event: SDL_USEREVENT");
break;
+ case SDL_ACTIVEEVENT:
+ logger->log("event: SDL_ACTIVEEVENT: %d %d",
+ event.active.state, event.active.gain);
#ifdef ANDROID
case SDL_ACCELEROMETER:
logger->log("event: SDL_ACCELEROMETER");