Huw Davies : dinput/tests: Send a matching key-up event.
julliard at wine.codeweavers.com
Fri May 22 04:48:25 CDT 2015
Author: Huw Davies <huw at codeweavers.com>
Date: Fri May 22 09:45:02 2015 +0100
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.
dlls/dinput/tests/keyboard.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/dinput/tests/keyboard.c b/dlls/dinput/tests/keyboard.c
index a0e7d24..520740d 100644
@@ -110,6 +110,7 @@ static void acquire_tests(IDirectInputA *pDI, HWND hwnd)
for (i = 0; i < sizeof(custom_state) / sizeof(custom_state); 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);
More information about the wine-cvs