From 7f4491cb9887a2fa021059b922c4032f460aca82 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 2 Mar 2019 12:39:42 +0100 Subject: [PATCH] device: disable message loop in WinInputDeviceManager for now This was a change in aadc62a96c18d9911428da041e611f8c3b01a444 but seems to cause other problems, see #562 --- panda/src/device/winInputDeviceManager.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/device/winInputDeviceManager.cxx b/panda/src/device/winInputDeviceManager.cxx index 515dc376d8..c989b0964c 100644 --- a/panda/src/device/winInputDeviceManager.cxx +++ b/panda/src/device/winInputDeviceManager.cxx @@ -397,11 +397,13 @@ on_input_device_removal(HANDLE handle) { */ void WinInputDeviceManager:: update() { + /* MSG msg; while (PeekMessage(&msg, _message_hwnd, WM_INPUT_DEVICE_CHANGE, WM_INPUT, PM_REMOVE)) { TranslateMessage(&msg); DispatchMessage(&msg); } + */ } /**