Aric Stewart
50e5364330
xinput: Implement XInputEnable.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 08:06:38 +01:00
Aric Stewart
f3391311f3
xinput: Implement XInputSetState.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 08:06:31 +01:00
Aric Stewart
9e321a6f96
xinput: Update state of HID device.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 08:05:32 +01:00
Aric Stewart
755422a2be
xinput: Detect and setup HID gamepads.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 08:05:31 +01:00
Andrew Eikum
de3591ca98
xinput: XInputGetStateEx takes the same struct as XInputGetState.
...
XINPUT_STATE_EX has four extra bytes for padding, but is otherwise
identical to XINPUT_STATE. It was introduced in a libSDL header in
2012, for use with the undocumented function at xinput ordinal 100,
which we call XInputGetStateEx.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:47 +01:00
Józef Kucia
ff8c49eec3
xinput1_1: Avoid DLL forwarding.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-20 21:10:02 +02:00
Andrey Gusev
8936a841f5
xinput1_3: Avoid spamming FIXME for XInputGetKeystroke.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 21:39:28 +01:00
Olivier F. R. Dierick
1640c9ce62
xinput1_3: Add DECLSPEC_HOTPATCH to XInputEnable() definition.
...
Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-06 20:08:45 +01:00
Bruno Jesus
6b88529b3c
xinput1_3/tests: Add interactive tests.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-14 17:33:02 +01:00
Bruno Jesus
4989d8727f
xinput1_3/tests: Improve vibration tests.
...
Specially the part to disable the vibration after the test. Manually
tested on Windows 8.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 11:38:06 +01:00
Bruno Jesus
547d9491af
xinput1_3/tests: Explain an important test and fix remaining style issues.
...
It's important to explain why the test is done like that so in the
future nobody changes it without knowing the impacts.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-07 14:45:18 +01:00
Bruno Jesus
67eec14ca0
xinput1_3/tests: Dump the gamepad values from XInputGetCapabilities.
...
Important to show that they changed between XInput versions 1.3 and 1.4.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-07 14:45:18 +01:00
Bruno Jesus
ea4edbe179
xinput1_3/tests: Test the GUIDs returned from XInputGetDSoundAudioDeviceGuids.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-07 14:45:17 +01:00
Bruno Jesus
4b09e848b8
xinput1_3: Prefer builtin DLL.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-30 17:07:55 +01:00
Bruno Jesus
cb855d98d5
xinput1_3: Test proper no new data error from XInputGetKeystroke.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-12 11:10:56 +09:00
Bruno Jesus
50cb6434bb
xinput1_3: Test every xinput DLL version.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-12 11:10:51 +09:00
Bruno Jesus
e3cda2c45d
xinput1_3/tests: Cope with XInputGetStateEx not being present by name.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:27:42 +09:00
Bruno Jesus
44cd385af3
xinput1_3: Implement XInputGetState using XInputGetStateEx.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:45 +09:00
Bruno Jesus
0fe758046d
xinput1_3: Stub XInputGetStateEx.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:45 +09:00
Bruno Jesus
f097399a50
xinput1_3: Better handle input parameters.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:44 +09:00
Bruno Jesus
309fed2316
xinput1_3: Better trace all functions.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:44 +09:00
Andrey Gusev
b271a1acfa
xinput: Fix XInputGetBatteryInformation spec file entry.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-28 22:25:51 +09:00
Alexandre Julliard
8935863f55
winebuild: Add DllMain to the list of functions that should be private.
2015-07-15 15:59:46 +09: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
Vincent Povirk
b29c2b050d
xinput1_3: Make XInputGetState patchable.
2013-10-28 10:38:36 +01:00
Alexandre Julliard
f02cdd877f
Remove empty DLL_PROCESS_DETACH case statements.
2013-04-15 16:45:35 +02: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
Louis Lenders
1aa4c4a895
xinput1_3: Quiet a noisy fixme.
2010-07-05 17:10:25 +02:00
Louis Lenders
ba1659762e
xinput1_3: Quiet a noisy fixme.
2010-06-11 11:38:59 +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
Huw Davies
7c1deca74c
xinput1_3: Don't print the contents of [out] parameters.
...
Found by Valgrind.
2009-12-07 14:45:54 +01:00
Vitaliy Margolen
6f60208401
xinput1_3: Better match native export order.
2009-05-05 11:33:45 +02:00
Francois Gouget
5da42336d9
xinput1_3/tests: Add a trailing '\n' to an ok() call.
2009-01-09 14:06:13 +01:00
Andrew Fenn
37a7ca59b3
xinput1_3: Added test for XInputGetBatteryInformation.
2009-01-08 13:41:40 +01:00
Andrew Fenn
907add75a9
xinput1_3: Added stub code for XInputGetBatteryInformation.
2009-01-08 13:41:25 +01:00
Andrew Fenn
ab0d420dd2
xinput1_3: Added test for XInputGetDSoundAudioDeviceGuids.
2009-01-08 13:36:57 +01:00
Andrew Fenn
f58aae7b69
xinput1_3: Added stub for XInputGetDSoundAudioDeviceGuids.
2009-01-08 13:36:48 +01:00
Andrew Fenn
1b3feb2a5c
xinput1_3: Added tests for XInputGetKeystroke.
2009-01-07 12:20:48 +01:00
Andrew Fenn
ac3e24c5c9
xinput1_3: Added stub code for XInputGetKeystroke.
2009-01-07 12:20:41 +01:00
Andrew Fenn
2c54c3dc82
xinput1_3: Added tests for XInputSetState.
2009-01-02 12:08:26 +01:00
Andrew Fenn
2e71742d6a
xinput1_3: Added stub XInputSetState.
2009-01-02 12:08:08 +01:00
Andrew Fenn
cdced5b850
xinput: Added stub for XInputEnable.
2008-12-29 12:12:36 +01:00
Paul Vriens
99eaf51bb7
xinput1_3/tests: Call FreeLibrary() after tests.
2008-12-16 12:51:08 +01:00
Andrew Fenn
611ebb53e3
xinput: Added XInputGetCapabilities function with test case.
2008-11-11 14:03:01 +01:00
Andrew Fenn
29789a8ef4
xinput: Added the function XInputGetState with test case.
2008-11-11 14:03:01 +01:00
Andrew Fenn
457a22deac
xinput1_3: Initial implementation.
2008-11-11 14:03:00 +01:00