Bruno Jesus
5e59d093a2
dinput/tests: Add tests for DISFFC_STOPALL, DISFFC_RESET and GetEffectStatus.
...
Requires a FF-enabled joystick to test.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:05:44 +01:00
Bruno Jesus
97b5862e48
dinput/tests: Use EnumEffects and test a supported effect.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 12:06:28 +09:00
Bruno Jesus
f051de0d37
dinput: Return the correct error when CreateEffect is not supported.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:40:34 +09:00
Bruno Jesus
e8273ae497
dinput: Cope with NULL flags in LinuxInputEffectImpl_GetEffectStatus.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-19 16:14:30 +09:00
Bruno Jesus
44303b6625
dinput: Implement DIPROP_PRODUCTNAME in GetProperty.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-19 16:14:30 +09:00
Bruno Jesus
738e17b2d7
dinput: Properly fill the HID information for the controller in the js driver.
...
Even the Xbox 360 controller which does not use HID has the same flags
and usage page set on Windows.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 13:17:54 +09:00
Bruno Jesus
03181015c3
dinput/tests: Test for DIDOI_ASPECTPOSITION on joystick axes.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 11:54:03 +09:00
Bruno Jesus
f1b782bfc8
dinput/tests: Improve controller debug information.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-15 12:56:23 +09:00
André Hentschel
765abb771f
dinput/tests: Avoid assigning values twice (PVS-Studio).
2015-03-20 12:41:44 +09:00
Andrey Gusev
add85f4687
Assorted typos fixes.
2014-02-12 19:15:32 +01:00
Michael Stefaniuc
9a263e58fd
dinput/tests: Compile with -D__WINESRC__.
2013-10-30 09:42:10 +01:00
Lucas Zawacki
913cbb9f21
dinput/tests: Test for DIPROP_INSTANCENAME and DIPROP_GUIDANDPATH.
2012-10-11 20:22:02 +02:00
Lucas Zawacki
e3d243861c
dinput/tests: Added a test for DIPROP_JOYSTICKID.
2012-05-30 11:32:25 +02:00
Francois Gouget
fac36c55e9
Assorted typo, spelling, wording and case fixes.
2012-05-15 16:26:43 +02:00
Francois Gouget
ed3c9a1eca
Assorted spelling fixes.
2011-08-03 14:15:48 +02:00
Austin English
d6d749f4d7
dinput/tests: Make sure to use return value (LLVM/Clang).
2011-02-07 10:06:07 -06:00
Vitaliy Margolen
02be0aee72
dinput: Fix typo. Found by clang.
2011-01-25 12:37:53 +01: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
Vincent Pelletier
befb0a06b1
dinput: Move gain support from effect to device.
2009-02-02 15:21:44 +01:00
Michael Stefaniuc
c0d2a21dd1
dinput: Remove superfluous pointer casts.
2009-01-28 12:30:51 +01:00
Vincent Pelletier
5a24b42b30
dinput: Implement auto-center set & get.
2009-01-23 13:44:33 +01:00
Vincent Pelletier
7d0ee98716
dinput: Add test to show that effects are stopped after Unacquire + Acquire and preserved in dinput.
2009-01-22 15:28:23 +01:00
Vincent Pelletier
41be1096c0
dinput: On Unacquire, stop all effects and unload them.
2009-01-22 15:28:23 +01:00
Vincent Pelletier
a0c10c2af2
dinput: Use tested DirectInput version instead of latest.
2009-01-22 15:28:23 +01:00
Vincent Pelletier
ebc2c74f7c
dinput: Test that upload, unacquire, acquire still permits updating uploaded effect.
...
Kudos to Daniel Remenak for his help.
2009-01-21 12:30:20 +01:00
Vincent Povirk
6ff83ba591
dinput/tests: Fix string format warning.
2008-12-05 12:30:10 +01: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
a478c4fe25
dinput: Freed effect should remove itself from the parent's list of effects. Add tests.
2008-07-07 12:11:24 +02:00
Vitaliy Margolen
382ed33b7a
dinput: Default value for unassigned POVs should be -1.
2008-05-08 18:14:18 +02:00
Lionel Debroux
27c2b56c5e
dinput: joystick test: Improve reporting when enumerated axes/buttons/POVs don't match capabilities.
2008-04-28 13:27:51 +02:00
Vitaliy Margolen
a06821765a
dinput: Don't reset dead zone and saturation when setting data format.
...
Additional tests indicate that native doesn't touch previously set
properties.
2007-02-06 20:23:28 +01:00
Vitaliy Margolen
45b8d865b4
dinput: Don't reset user specified range in SetDataFormat. With tests.
2007-02-05 14:03:28 +01:00
Vitaliy Margolen
b8b03b54b7
dinput: Initialize user limits with the default 0..65535 range. Add tests.
2007-02-05 14:03:20 +01:00
Marcus Meissner
f0280cbd1e
made functions and variables static in some testcases.
2006-12-11 12:18:29 +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
35ee9b05d9
dinput: Add SetCooperativeLevel test for joystick.
2006-10-17 12:36:28 +02:00
Michael Ploujnikov
3438512f53
dinput/tests: Win64 printf format warning fixes.
2006-10-12 11:37:15 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Francois Gouget
39589188d1
Only print the joystick state when it changes so the user does not get
...
300 lines of traces.
2005-07-11 17:58:52 +00:00
Francois Gouget
8ad8969fd5
Remove unnecessary STRICT defines.
2005-07-11 14:24:17 +00:00
Francois Gouget
c7dcf642ea
Add trailing '\n's to ok() calls.
2005-07-06 15:46:47 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Robert Reif
6dd763e03b
Pass around real version and do correct thing based on it.
...
Change cooperative level to pass on windows.
2005-05-16 08:44:14 +00:00
Robert Reif
0f60464b95
Fix SetProperty error returned.
...
Add EnumDevice joystick version check.
Test multiple versions.
2005-05-13 13:57:17 +00:00
Robert Reif
8bffed50c6
Added dinput tests.
2005-05-11 12:05:17 +00:00