Rémi Bernon
15beabe071
dinput8/tests: Flush events after creating window.
...
To make it more likely it gets focused on X11 and fix spurious failures.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 21:13:01 +02:00
Alistair Leslie-Hughes
d61d710121
dinput: Mouse device doesn't support property DIPROP_VIDPID.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-11 12:48:11 +01:00
Alistair Leslie-Hughes
61a85a6031
dinput/tests: Remove unrequired pointer checks (Coverity).
...
Also fixes a few test strings.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-21 17:11:43 +02:00
Alistair Leslie-Hughes
0555209757
dinput/tests: Add checks for Acquire/Unacquire.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-08 10:57:50 +02:00
Alistair Leslie-Hughes
87a8622ffe
dinput/tests: Remove unrequired if (Coverity).
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:39:34 +02:00
Alistair Leslie-Hughes
c4debff5db
dinput: Improve returned flags in Mouse GetObjectInfo.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:42:22 +02:00
Alistair Leslie-Hughes
381fa00b6a
dinput: Support DIDEVICEINSTANCE_DX3 for Mouse GetDeviceInfo.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:53 -05:00
Johann Frei
4bc1e172ec
dinput: Implement X/Y axis granularity and add test.
...
Signed-off-by: Johann Frei <johann_frei@yahoo.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-08 11:27:19 -06:00
Zebediah Figura
51895145fd
dinput/tests: Don't pump messages in test_acquire().
...
This causes intermittent failures due to implementation of our window drivers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 11:13:16 +01:00
Zebediah Figura
58abb3518c
dinput/tests: Remove a no longer needed workaround.
...
This was fixed by 41ce4a0158
.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 10:55:16 +01:00
Hugh McMaster
11669fa5e2
Assorted spelling and grammar fixes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Sebastian Lackner
bfb845f9fc
dinput: Ensure X11 input events are forwarded to wineserver even without message loop.
...
This commit basically reverts b22ff8018a
.
Windows does not do that, but our current implementation of winex11
requires periodic event polling to forward events to the wineserver.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 01:13:58 +09:00
Michael Stefaniuc
9a263e58fd
dinput/tests: Compile with -D__WINESRC__.
2013-10-30 09:42:10 +01: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
db6780806e
dinput: Add buffer overflow check.
2011-10-17 17:45:01 +02:00
Vitaliy Margolen
1a56be85be
dinput: Acquire should not reset buffer position.
2011-10-14 13:12:28 +02:00
Greg Geldorp
62670dc39e
dinput/tests: Skip acquire tests when not running in the foreground.
...
If our window isn't the foreground window, we'll never be able to
successfully Acquire with SetCooperativeLevel DISCL_FOREGROUND in effect.
2011-01-06 18:29:14 +01:00
Paul Vriens
5a40c65cfe
dinput/tests: Fix a few intermittent test failures.
2009-10-15 12:06:18 +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
Alexandre Julliard
b648dac7e1
dinput: Don't depend on the dxerr8 static library in the tests.
2008-07-08 17:51:46 +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
41ce4a0158
dinput: Use CALLWINDPROC hook to monitor focus loses away from acquired windows.
2007-07-16 22:59:07 +02:00
Vitaliy Margolen
1f72c13a5a
dinput: Correct test - use appropriate mouse state structure.
2007-07-06 18:15:19 +02:00
Vitaliy Margolen
f83b53c160
dinput: Acquire device only if specified window has focus in foreground coop level.
2007-06-04 13:10:10 +02: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
Michael Ploujnikov
3438512f53
dinput/tests: Win64 printf format warning fixes.
2006-10-12 11:37:15 +02:00
Vitaliy Margolen
adadb5be78
dinput: Return proper errors in SetCooperativeLevel.
2006-09-20 12:24:14 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Francois Gouget
8ad8969fd5
Remove unnecessary STRICT defines.
2005-07-11 14:24:17 +00:00
Stefan Huehner
863a4b1488
Fix some more -Wstrict-prototypes warnings.
2005-06-21 20:53:13 +00:00
Robert Reif
8bffed50c6
Added dinput tests.
2005-05-11 12:05:17 +00:00