Commit Graph

86 Commits

Author SHA1 Message Date
Jetro Jormalainen 04bddb6c93 dinput: Give correct count of devices still to be enumerated.
EnumDevicesBySemantics should give count of all devices instead of
just keyboard and mouse still to be enumerated when calling callback.

Signed-off-by: Jetro Jormalainen <jje-wine@jv.jetro.fi>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 19:38:07 +01:00
Bruno Jesus d19ff2d828 dinput8/tests: Debug device information during enumeration callback.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-15 12:56:35 +09:00
Michael Stefaniuc 12f8274539 dinput8/tests: Make use of todo_wine_if().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 09:14:28 -05:00
Bernhard Übelacker 86cdf0b1cb dinput8/tests: Add valid wide string termination to actionName member.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 09:07:12 -05:00
Bernhard Übelacker fbc85ddc28 dinput: Implement device property DIPROP_USERNAME.
Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:32 +09:00
Piotr Caban 8d5b1dd502 dinput8: Create a window that will receive events generated by input tests. 2014-03-07 11:30:27 +01:00
Andrey Gusev add85f4687 Assorted typos fixes. 2014-02-12 19:15:32 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
André Hentschel 7ddb8e25bb dinput8/tests: Enable compilation with -D__WINESRC__. 2013-11-11 13:27:27 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Lucas Zawacki d5e9cedaf5 dinput: BuildActionMap should not fail if mapping has no pre-stored settings. 2012-08-28 14:41:04 +02:00
Lucas Zawacki 851d38c4ef dinput8/tests: Test load actions when there's no pre-stored ones. 2012-08-28 14:41:02 +02:00
Lucas Zawacki af1dcde288 dinput: SetActionMap saving mappings. 2012-08-27 11:13:15 +02:00
Lucas Zawacki 77cab1ce98 dinput8/tests: Added tests for saving and retrieving settings with SetActionMap. 2012-08-27 11:12:23 +02:00
Józef Kucia 42235c3cc9 dinput8/tests: Use CLSCTX_INPROC_SERVER instead of a magic number. 2012-03-26 18:15:05 +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 a84d2fe20e dinput: Stub IDirectInputJoyConfig8 interface. 2011-11-29 14:04:01 +01:00
Vitaliy Margolen 0a9caf3e81 dinput8: Register CLSID_DirectInputDevice8. 2011-10-31 17:51:15 +01:00
Lucas Fialho Zawacki 46e408d54c dinput8/tests: Tests for DIPROP_USERNAME property. 2011-10-25 16:57:28 +02:00
Lucas Fialho Zawacki 32f79acc49 dinput8/tests: Moved EnumDevicesBySemantics specific tests to dinput.c and added a couple more. 2011-10-25 16:57:28 +02:00
Vitaliy Margolen aba1ed78da dinput: Put some checks back into GetDeviceData for DirectInput 8. 2011-10-17 17:45:02 +02:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Lucas Fialho Zawacki 8cc44cb8c3 dinput: SetActionMap setting the axis range according to the action format. 2011-07-22 12:57:22 +02:00
Marcus Meissner 3dc66a9d6d dinput: const REFIID is duplicate const (Coverity). 2011-07-14 14:13:40 +02:00
Lucas Fialho Zawacki bc5d32bec6 dinput: EnumDevicesBySemantics enumerating all kinds of joysticks. 2011-07-12 11:37:36 +02:00
Lucas Fialho Zawacki 662d332246 dinput: Prevent EnumDevicesBySematics from enumerating keyboard and mouse as having force feedback. 2011-07-11 12:24:55 +02:00
Lucas Fialho Zawacki a85f66e7a7 dinput8/tests: Tests for EnumDevicesBySemantics with different enumeration flags. 2011-07-11 12:24:06 +02:00
Andrew Nguyen c8c6aa0c2c dinput8/tests: Replicate the IDirectInput tests for IDirectInput8. 2011-07-06 11:13:55 +02:00
Andrew Nguyen cf073c8ad4 dinput8: Improve the behavior of DirectInput8Create. 2011-07-06 11:13:53 +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
Lucas Fialho Zawacki 39684c7e3a dinput: SetActionMap and queue_event setting mapped data. 2011-07-04 20:25:00 +02:00
Lucas Fialho Zawacki b590090a48 dinput: SetActionMap constructing a dataformat for keyboard and mouse. 2011-07-04 20:24:48 +02:00
Lucas Fialho Zawacki 83aded2754 dinput: Keyboard and mouse implementation of BuildActionMap. 2011-07-04 20:24:10 +02:00
Lucas Fialho Zawacki 542a2849c0 dinput8/tests: BuildActionMap and input tests for mouse. 2011-07-04 20:23:09 +02:00
Lucas Fialho Zawacki 2fe9f14b29 dinput: SetActionMap setting the device buffer. 2011-06-28 16:45:56 -05:00
Lucas Fialho Zawacki 636cc9acff dinput8/tests: Testing BuildActionMap and SetActionMap with keyboard input. 2011-06-28 16:45:56 -05:00
Lucas Fialho Zawacki 0f17c828f7 dinput: EnumDevicesBySemantics enumerating keyboard and mouse with priority flags. 2011-06-28 16:45:55 -05:00
Lucas Fialho Zawacki 3ed476caac dinput8/tests: Test EnumDevicesBySemantics mouse and keyboard enumeration with flags. 2011-06-28 16:45:55 -05:00
Lucas Fialho Zawacki 1fbf857dc1 dinput8/tests: Tests for creation and initialization of DInput8 interface and simple cases of EnumDevicesBySemantics. 2011-05-02 12:58:51 +02:00
Alexandre Julliard b89ea84e6a dinput8: Convert dll registration to the IRegistrar mechanism. 2010-12-07 12:54:24 +01:00
Michael Stefaniuc ed5260ba92 dinput8: Use an iface instead of a vtbl pointer in IClassFactoryImpl. 2010-12-06 12:19:52 +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
Austin English 82868174bc Remove references to wineprefixcreate. 2010-07-20 12:35:40 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00