rawinput_usb.cpp: removed unused WM_ACTIVATE/SETFOCUS/KILLFOCUS logging (#4121)

* rawinput_usb.cpp: removed unneeded WM logging
This commit is contained in:
Pierre GRASSER 2021-01-09 18:01:12 +01:00 committed by GitHub
parent 9468b04713
commit ec7116f2ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -178,17 +178,14 @@ namespace shared
skipInput = !wParam; skipInput = !wParam;
break; break;
case WM_ACTIVATE: case WM_ACTIVATE:
Console.WriteLn("****** WM_ACTIVATE ****** %p %d\n", hWnd, LOWORD(wParam) != WA_INACTIVE);
skipInput = LOWORD(wParam) == WA_INACTIVE; skipInput = LOWORD(wParam) == WA_INACTIVE;
if (LOWORD(wParam) == WA_INACTIVE) if (LOWORD(wParam) == WA_INACTIVE)
CursorRelease(); CursorRelease();
break; break;
case WM_SETFOCUS: case WM_SETFOCUS:
Console.WriteLn("****** WM_SETFOCUS ****** %p\n", hWnd);
skipInput = false; skipInput = false;
break; break;
case WM_KILLFOCUS: case WM_KILLFOCUS:
Console.WriteLn("****** WM_KILLFOCUS ****** %p\n", hWnd);
skipInput = true; skipInput = true;
break; break;
case WM_SIZE: case WM_SIZE: