diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-07 01:15:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-07 01:15:15 +0300 |
commit | 008a29a3fbcf282d1bed8ce4a9bdfb665defd943 (patch) | |
tree | 72a43c916b59b0e1401423d80bc2dea78c1e0618 /src/client.cpp | |
parent | 577ecda421be086b8cd501b21a2d5d40c0fd2ff8 (diff) | |
download | manaverse-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.cpp | 3 |
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"); |