1
0
Fork 0

source/Platform/Win32/Win32EventQueue.cpp: change OutputDebugString() to Log::debug()

This commit is contained in:
Henrik Hautakoski 2020-11-13 00:23:10 +01:00
parent fc1fc7001a
commit 3f38286049

View file

@ -3,6 +3,7 @@
#include "Win32Keyboard.h"
#include "Win32Mouse.h"
#include "Win32EventQueue.h"
#include <Spectre/System/Log.h>
namespace sp {
@ -28,8 +29,8 @@ LRESULT Win32EventQueue::processMessage(MSG msg, Event& event)
// Input, Forward to devices.
case WM_KEYDOWN :
case WM_KEYUP :
OutputDebugString("WM_KEYDOWN\n");
//SetCapture(msg.hwnd);
Log::debug("WM_KEY");
if (Win32Keyboard::handleMessage(msg, event)) {
// Keyboard did handle the message.