mirror of
https://github.com/reactos/wine.git
synced 2025-01-24 04:45:18 +00:00
dinput: When setting hooks ignore devices without even handler.
This commit is contained in:
parent
64ef4c4edf
commit
278cc8e28d
@ -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 ))
|
||||
|
Loading…
x
Reference in New Issue
Block a user