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
299a6ce5bb
dinput: Use the correct index to remap the axis.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:38:12 +09:00
Bruno Jesus
4f545cb627
dinput: Properly debug DIDEVTYPE_HID in _dump_DIDEVCAPS.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 14:02:05 +09:00
Bruno Jesus
30ae735425
dinput: Properly fill the HID information for the controller in the event driver.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 12:00:33 +09:00
Bruno Jesus
dd7b65730d
dinput: Implement GetDeviceInfo(A) using the W version in the event driver.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 12:00:31 +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
cfd3076c31
dinput: Implement GetDeviceInfo(A) using the W version in the js driver.
...
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
7439f7948c
dinput: Use a helper to read information files for the js device.
...
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
Andrew Church
5ce8a1a91b
dinput: Report DIDOI_ASPECTPOSITION flag for axes objects.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 11:53:57 +09:00
Bruno Jesus
58937117fb
dinput: Add support for DIPROP_VIDPID property in Linux js implementation.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-15 12:56:31 +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
Bruno Jesus
e3b783174d
dinput: Add DirectInput8 device type names to debug.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-15 12:56:09 +09:00
Bruno Jesus
63284bf9b5
dinput: Fix some debug output.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-15 12:55:39 +09:00
Michael Stefaniuc
a516c0aa38
dinput/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:26 -05:00
Nikolay Sivov
b610e422b3
dinput: Fix its vs it's typo.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:19 -05:00
Corentin Rossignon
081930e70b
dinput: Fix product GUID generation in Linux joystick and event API.
...
Signed-off-by: Corentin Rossignon <corossig@gmail.com>
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-25 14:28:37 +09:00
Corentin Rossignon
4f01bcb85f
dinput: Retrieve vendor ID and product ID in Linux joystick API.
...
Signed-off-by: Corentin Rossignon <corossig@gmail.com>
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-25 14:28:24 +09:00
David Lawrie
49bf4f7eb6
dinput: Sort virtual joysticks by name on the Mac.
...
Signed-off-by: David Lawrie <david.dljunk@gmail.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-25 14:22:14 +09:00
David Lawrie
c543c603a5
dinput: Alter function name and code style.
...
Signed-off-by: David Lawrie <david.dljunk@gmail.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:11 +09:00
David Lawrie
33c43473c0
dinput: Sort devices by location ID on the Mac.
...
Signed-off-by: David Lawrie <david.dljunk@gmail.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:11 +09:00
David Lawrie
fef170af85
dinput: Print location ID in debugstr_device on the Mac.
...
Signed-off-by: David Lawrie <david.dljunk@gmail.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:10 +09:00
Andrey Gusev
3321a7faec
dinput: Fix a typo in WARN() messages.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 20:26:18 +09: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
Francois Gouget
adb39b8fde
dinput: Make ff_effect_direction_to_rad() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:42 +09:00
Michael Stefaniuc
48bf99ea89
dinput: Support IUnknown in the IDirectInputEffect COM object.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 21:07:17 +09:00
Andrew Eikum
9934124917
dinput: Fix condition effect joystick offset calculation.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 10:14:57 +09:00
Charles Davis
4dba8a4e27
dinput: Don't define a debug channel when it isn't used.
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:04 +09:00
Bernhard Übelacker
dd08ef4063
dinput: Fail in SetCooperativeLevel on invalid hwnd.
...
MotoGP 3 demo fails to accept key presses to control the driver.
The game calls SetCooperativeLevel twice. First with an invalid hwnd
(but not NULL) and later with the real hwnd.
Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 13:25:31 +09:00
Thomas Faber
805473dec7
dinput: Implement MSVC version of enum_callback_wrapper.
...
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:10 +09: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
Andrew Nguyen
6566cd76ce
dinput: Allow EnumDevices callback functions with broken calling conventions.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:21:26 +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
Sebastian Lackner
eca5ee9a49
dinput: Print TRACE at the beginning of SysMouseWImpl_GetDeviceState function.
...
Also move the _dump_mouse_state() call inside of the lock.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 01:13:57 +09:00
Alexandre Julliard
cc0420ac31
makefiles: Get rid of the obsolete IMPLIB_SRCS variable.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 17:23:03 +09:00
Huw Davies
4b110f7554
dinput/tests: Send a matching key-up event.
...
The user32 msg tests are failing (more than normal) as they still see 'Q' in the down state.
2015-05-22 18:04:28 +09:00
Sebastian Lackner
0d91274def
dinput: Reset device state in SysKeyboard*Impl_Acquire.
2015-05-18 19:59:28 +09:00
Aric Stewart
3d30db2248
dinput: Add JoystickID to the Instance Name.
2015-04-08 23:34:15 +09:00
André Hentschel
765abb771f
dinput/tests: Avoid assigning values twice (PVS-Studio).
2015-03-20 12:41:44 +09:00
Francois Gouget
f505e6fb4a
Assorted spelling fixes.
2015-03-19 21:54:14 +09:00
Francois Gouget
128a86f0b0
dinput: IDirectInputDevice8WImpl_SetActionMap() is redundant so remove it.
2015-03-02 13:50:27 +09:00
Alexandre Julliard
93f40b2ecc
dinput: Implement GetDeviceInfo for Linux joystick.
2015-02-24 21:55:47 +09:00
Amine Khaldi
bd58a7ca45
dinput/tests: Declare pDirectInputCreateEx in a MSVC compatible way.
2015-02-24 12:51:37 +09:00
André Hentschel
c440168e53
dinput: Remove unused functions (Clang).
2014-11-25 19:49:40 +01:00
Bruno Jesus
c257e8adf6
dinput: Fix device type dump.
2014-11-20 22:32:38 +09:00
Bruno Jesus
7e2f26d6fa
dinput: Ensure variable is initialized when #define is not found (Cppcheck).
2014-11-04 13:31:59 +09:00
Bruno Jesus
1242417d13
dinput/tests: Release the instance after tests (valgrind).
2014-07-14 17:22:45 +02:00
Bruno Jesus
e011307244
dinput: Remove duplicated TRACE check.
2014-04-25 10:16:51 +02:00
Ken Thomases
7367c68cc9
dinput: Add additional debug logging to Mac code.
2014-04-14 10:25:19 +02:00