Commit Graph

90 Commits

Author SHA1 Message Date
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
Lucas Zawacki e8f808a607 dinput: Semi-stub for IDirectInputJoyConfig8_GetConfig. 2012-08-14 12:01:10 +02:00
Lucas Zawacki dbc10ef937 dinput/tests: Tests for IDirectInputJoyConfig8_GetConfig. 2012-08-14 12:01:06 +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
Vitaliy Margolen 699da40d1b dinput: Add more error checking to IDirectInput_GetDeviceStatus. 2011-11-29 14:04:25 +01:00
Vitaliy Margolen 310859db67 dinput: Add more parameter checking to enum devices. 2011-11-29 14:04:20 +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 67e0b356c0 dinput: Restore checks for DirectX 3 buffer size. 2011-10-25 16:57:28 +02:00
Vitaliy Margolen db6780806e dinput: Add buffer overflow check. 2011-10-17 17:45:01 +02:00
Vitaliy Margolen e939980027 dinput: Fix buffer size in test. 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
Vitaliy Margolen 157528eb0f dinput: GetDeviceData always succeeds regardless if buffering is enabled or device is acquired. 2011-10-14 13:12:28 +02:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Lucas Fialho Zawacki d1a6d70e89 dinput/tests: Tests for EnumObjects with different types of device objects. 2011-07-15 14:43:47 +02:00
Marcus Meissner 3dc66a9d6d dinput: const REFIID is duplicate const (Coverity). 2011-07-14 14:13:40 +02:00
Andrew Nguyen 10e28144c0 dinput: Improve the behavior of DirectInputCreateEx. 2011-07-06 11:13:47 +02:00
Andrew Nguyen c126b21a34 dinput: Extract the DirectInput instance creation and initialization in DirectInputCreateEx to separate functions. 2011-07-06 11:13:45 +02:00
Andrew Nguyen e5f73425dd dinput/tests: Add tests for IDirectInput::GetDeviceStatus. 2011-07-06 11:13:43 +02:00
Andrew Nguyen 9b1060d090 dinput: Add tests for IDirectInput::EnumDevices and add a parameter check. 2011-07-06 11:13:42 +02:00
Andrew Nguyen 324c76f386 dinput: Improve the behavior of IDirectInput::CreateDevice. 2011-07-06 11:13:40 +02:00
Andrew Nguyen 26932c84b0 dinput: Improve the behavior of IDirectInput::Initialize. 2011-07-06 11:13:38 +02:00
Andrew Nguyen c28512a5a6 dinput: Fix some return values of IDirectInput::QueryInterface. 2011-07-06 11:13:36 +02:00
Andrew Nguyen 90e9e3103a dinput: Implement IDirectInput::RunControlPanel. 2011-07-06 11:13:31 +02:00
Vitaliy Margolen eb6cec1656 dinput: Keyboard does not support DIPROP_RANGE property. 2011-05-31 11:12:35 +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
Vitaliy Margolen 0ac5c60374 dinput: Combine ASCII and Unicode device create callbacks. Add tests. 2011-01-24 14:43:09 +01: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
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +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
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
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
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +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 e850b4f13d dinput: Convert keyboard buffer from internal data format to user data format. 2008-05-28 19:31:59 +02:00