diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-25 11:59:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-25 11:59:09 +0100 |
commit | bdb3a9177ed7f8e1520172e837b0bf1f8886cfd3 (patch) | |
tree | 63acbf3701bb57032bcb1f761fec029bced66637 /dinput | |
parent | 1fafd300b92d4d2cffd5867158b0a8b128422c9d (diff) |
dinput/joy: prevent logspam on joy unplug
Diffstat (limited to 'dinput')
-rw-r--r-- | dinput/win32-joystick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |