dinput: When setting hooks ignore devices without even handler.

This commit is contained in:
Vitaliy Margolen 2007-09-09 23:14:27 -06:00 committed by Alexandre Julliard
parent 64ef4c4edf
commit 278cc8e28d

View File

@ -921,7 +921,7 @@ static DWORD WINAPI hook_thread_proc(void *param)
EnterCriticalSection( &dinput->crit );
LIST_FOR_EACH_ENTRY( dev, &dinput->devices_list, IDirectInputDevice2AImpl, entry )
{
if (!dev->acquired) continue;
if (!dev->acquired || !dev->event_proc) continue;
if (IsEqualGUID( &dev->guid, &GUID_SysKeyboard ) ||
IsEqualGUID( &dev->guid, &DInput_Wine_Keyboard_GUID ))