From bdb3a9177ed7f8e1520172e837b0bf1f8886cfd3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 25 Dec 2016 11:59:09 +0100 Subject: dinput/joy: prevent logspam on joy unplug --- dinput/win32-joystick.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dinput') diff --git a/dinput/win32-joystick.cpp b/dinput/win32-joystick.cpp index f0673309..f954a44e 100644 --- a/dinput/win32-joystick.cpp +++ b/dinput/win32-joystick.cpp @@ -158,7 +158,7 @@ bool win32_joy_ctx::joy::poll(fn f) if (!ok) { - qDebug() << "joy acquire failed" << guid << hr; + //qDebug() << "joy acquire failed" << guid << hr; (void) joy_handle->Unacquire(); return false; } @@ -168,7 +168,7 @@ bool win32_joy_ctx::joy::poll(fn f) if (FAILED(hr = joy_handle->GetDeviceState(sizeof(js), &js))) { - qDebug() << "joy get state failed" << guid << hr; + //qDebug() << "joy get state failed" << guid << hr; return false; } -- cgit v1.2.3