Fix T54799: NDOF events not dispatched on windows.

Caused by commit rB785e8a636a29
This commit is contained in:
mano-wii
2018-08-07 11:41:55 -03:00
parent 4c712fd17e
commit 030297209f
2 changed files with 5 additions and 1 deletions

View File

@@ -1110,8 +1110,10 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
break;
#ifdef WITH_INPUT_NDOF
case RIM_TYPEHID:
if (system->processNDOF(raw))
if (system->processNDOF(raw)) {
system->m_ndofManager->sendMotionEvent();
eventHandled = true;
}
break;
#endif
}