Commit Graph

27 Commits

Author SHA1 Message Date
Bernhard Übelacker dd08ef4063 dinput: Fail in SetCooperativeLevel on invalid hwnd.
MotoGP 3 demo fails to accept key presses to control the driver.
The game calls SetCooperativeLevel twice. First with an invalid hwnd
(but not NULL) and later with the real hwnd.

Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 13:25:31 +09:00
Huw Davies 4b110f7554 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.
2015-05-22 18:04:28 +09:00
Sebastian Lackner 0d91274def dinput: Reset device state in SysKeyboard*Impl_Acquire. 2015-05-18 19:59:28 +09:00
Michael Stefaniuc 9a263e58fd dinput/tests: Compile with -D__WINESRC__. 2013-10-30 09:42:10 +01:00
Francois Gouget b8050f0571 Assorted spelling fixes. 2012-09-04 16:15:52 +02:00
Marcus Meissner 439605634e dinput: No need for null ptr check of pKeyboard. 2012-09-03 17:43:38 +02:00
Lucas Zawacki ac9a10f815 dinput: Return a valid keyboard type in keyboard GetCapabilities. 2012-08-20 14:59:45 +02:00
Lucas Zawacki 5b3ccdf04a dinput/tests: Test for keyboard GetCapabilities. 2012-08-20 14:59:38 +02:00
Vitaliy Margolen 8c5a440144 dinput: Window supplied to SetCooperativeLevel have to be top level window. 2011-11-02 12:36:11 +01:00
Vitaliy Margolen eb6cec1656 dinput: Keyboard does not support DIPROP_RANGE property. 2011-05-31 11:12:35 +02:00
Detlef Riekenberg 5599912e27 dinput/tests: Remove duplicate version dump.
We have the version already in the header of the winetest results.
2009-03-30 13:56:54 +02:00
Vitaliy Margolen aa0188cd6f dinput: Zero the out buffer. 2008-07-28 12:16:34 +02:00
Alexandre Julliard b648dac7e1 dinput: Don't depend on the dxerr8 static library in the tests. 2008-07-08 17:51:46 +02:00
Vitaliy Margolen e850b4f13d dinput: Convert keyboard buffer from internal data format to user data format. 2008-05-28 19:31:59 +02:00
Sergey Khodych c6a7fd44d2 dinput/tests: Add test to show dinput does not use user defined data format for keyboard. 2008-04-18 13:57:15 +02:00
Paul Vriens a85c7594dc dinput/tests: Don't treat old dinput versions as an error. 2008-03-10 11:22:30 +01:00
Vitaliy Margolen ce5fb9bb29 dinput: AddRef and Release parent DirectInput class. 2006-12-24 13:07:15 +01:00
Vitaliy Margolen f7eacd64d1 dinput: Move acquired flag to the base device class. Add tests. 2006-12-04 12:33:35 +01:00
Francois Gouget dc44dbfa41 dinput/tests: Remove unneeded NONAMELESS* macros. 2006-11-24 11:48:47 +01:00
Vitaliy Margolen d35e4cd83c dinput: Add SetCooperativeLevel tests to keyboard. 2006-10-17 12:36:24 +02:00
Michael Ploujnikov 3438512f53 dinput/tests: Win64 printf format warning fixes. 2006-10-12 11:37:15 +02:00
Andrew Talbot 70cfb05fc4 dinput/tests: Write-strings warning fix. 2006-07-31 21:57:59 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vitaliy Margolen bc1440699c dinput: Keyboard should be acquired before calling GetDeviceState. 2006-04-03 11:39:28 +02:00
Francois Gouget 8ad8969fd5 Remove unnecessary STRICT defines. 2005-07-11 14:24:17 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Robert Reif 8bffed50c6 Added dinput tests. 2005-05-11 12:05:17 +00:00