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 | |
parent | 577ecda421be086b8cd501b21a2d5d40c0fd2ff8 (diff) | |
download | plus-008a29a3fbcf282d1bed8ce4a9bdfb665defd943.tar.gz plus-008a29a3fbcf282d1bed8ce4a9bdfb665defd943.tar.bz2 plus-008a29a3fbcf282d1bed8ce4a9bdfb665defd943.tar.xz plus-008a29a3fbcf282d1bed8ce4a9bdfb665defd943.zip |
Add active event to input event logger.
Diffstat (limited to 'src')
-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"); |