mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 22:28:30 +00:00
dinput/tests: Send a matching key-up event.
The user32 msg tests are failing (more than normal) as they still see 'Q' in the down state.
This commit is contained in:
parent
008ceb662d
commit
4b110f7554
|
@ -110,6 +110,7 @@ static void acquire_tests(IDirectInputA *pDI, HWND hwnd)
|
|||
for (i = 0; i < sizeof(custom_state) / sizeof(custom_state[0]); i++)
|
||||
ok(custom_state[i] == 0, "Should be zeroed, got 0x%08x\n", custom_state[i]);
|
||||
}
|
||||
keybd_event('Q', 0, KEYEVENTF_KEYUP, 0);
|
||||
|
||||
if (pKeyboard) IUnknown_Release(pKeyboard);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue