Browse Source

device: disable message loop in WinInputDeviceManager for now

This was a change in aadc62a96c18d9911428da041e611f8c3b01a444 but seems to cause other problems, see #562
rdb 6 years ago
parent
commit
7f4491cb98
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/device/winInputDeviceManager.cxx

+ 2 - 0
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);
   }
+  */
 }
 
 /**