Skip to content

Commit

Permalink
Cleanup: Debug log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 2, 2019
1 parent 0031b98 commit d80b837
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion doomsday/libs/gui/src/basewindow.cpp
Expand Up @@ -24,6 +24,7 @@

#include <de/GLBuffer>
#include <de/GLState>
#include <de/LogBuffer>

namespace de {

Expand Down Expand Up @@ -62,7 +63,7 @@ DE_PIMPL(BaseWindow)
/// @todo Input drivers should observe the notification instead, input
/// subsystem passes it to window system. -jk

debug("keyEvent ev:%i", ev.type());
LOGDEV_INPUT_XVERBOSE("keyEvent ev:%i", ev.type());

// Pass the event onto the window system.
// if (!
Expand Down
4 changes: 2 additions & 2 deletions doomsday/libs/gui/src/windoweventhandler.cpp
Expand Up @@ -20,7 +20,7 @@
#include "de/GLWindow"

#include <de/App>
#include <de/Log>
#include <de/LogBuffer>
#include <de/Loop>
#include <de/Rule>

Expand Down Expand Up @@ -191,7 +191,7 @@ DE_PIMPL(WindowEventHandler)

void handleKeyEvent(const SDL_KeyboardEvent &ev)
{
debug("text input active: %i", SDL_IsTextInputActive());
LOGDEV_INPUT_XVERBOSE("text input active: %i", SDL_IsTextInputActive());

const int ddKey = KeyEvent::ddKeyFromSDL(ev.keysym.sym, ev.keysym.scancode);
KeyEvent keyEvent(ev.state == SDL_PRESSED
Expand Down

0 comments on commit d80b837

Please sign in to comment.