Eric Pouech
0b2fd91596
joy.cpl: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 11:21:29 +01:00
Eric Pouech
1c374a7c51
joy.cpl: Use correct integral type.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:55 +01:00
Arkadiusz Hiler
30a026d245
setupapi: Use lowercase device paths.
...
Some games are doing case sensitive matches on the device paths obtained from
Setup API and expect them to be lowercase.
This fixes Virginia not being able to discover DualShock 4.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-23 22:57:01 +01:00
Ivo Ivanov
c2235c44c5
joy.cpl: Allow devices as steering wheels, that only support single-axis effects.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51873
Signed-off-by: Ivo Ivanov <logos128@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-19 18:31:38 +01:00
Rémi Bernon
960bb36941
joy.cpl: Better handle effect creation errors.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51873
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-14 18:59:52 +02:00
Rémi Bernon
f101712510
joy.cpl: Consistently use the 32 buttons limit from DIJOYSTATE.
...
Based on a patch from Ivo Ivanov <logos128@gmail.com>.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51873
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-14 18:59:52 +02:00
Rémi Bernon
13813894f2
joy.cpl: Pass DIEFF_OBJECTOFFSETS flag to IDirectInputEffect_SetParameters.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Rémi Bernon
06c824c02a
joy.cpl: Acquire the device before starting effect.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-06 20:29:34 +02:00
Rémi Bernon
afd63fa6a7
joy.cpl: Add a XInput / DInput override configuration control.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 21:55:19 +02:00
Rémi Bernon
cf2e17e8ba
joy.cpl: Add a dedicated connected list for xinput devices.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-24 21:55:19 +02:00
Rémi Bernon
c496a7b3f9
joy.cpl: Refresh the joystick device list when modified.
...
This will not work for legacy dinput devices because of the internal
enumeration logic, but it will dynamically update the list for HID
joysticks.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 18:12:28 +02:00
Rémi Bernon
a6f7f2dcfb
joy.cpl: Refresh joystick FF device list when activated.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 18:12:25 +02:00
Rémi Bernon
95cc64aa73
joy.cpl: Refresh joystick test device list when activated.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 18:12:21 +02:00
Rémi Bernon
5fad09d246
joy.cpl: Enumerate force-feedback effects with the devices.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 18:12:18 +02:00
Rémi Bernon
032052fca6
joy.cpl: Use msvcrt wide string functions.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 18:12:13 +02:00
Rémi Bernon
0a777f0bcc
joy.cpl: Use msvcrt memory allocation functions.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 18:12:07 +02:00
Alexandre Julliard
ec9a3d9906
joy.cpl: Use --prefer-native instead of DLL_WINE_PREATTACH.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 10:25:59 +01:00
Michael Stefaniuc
6d2c845db4
joy.cpl: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-07 11:24:12 +02:00
Torge Matthies
25e9e91c3a
joy.cpl: Fix pulsing buttons in joystick button state display.
...
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:32:18 +02:00
Alexandre Julliard
0af6002a3b
joy.cpl: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 11:15:24 +02:00
Tim Schumacher
f5bf3630db
joy.cpl: Fix high CPU load in FF test window.
...
If no effects are in the effects list, the loop in ff_input_thread
is immediately restarted, skipping the poll interval. This causes an
incredibly high refresh rate, which maxes out at least one CPU core.
Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 20:38:00 +02:00
Tim Schumacher
8bc52f5250
joy.cpl: Check if effect is allocated before releasing it.
...
Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 20:34:38 +02:00
Michael Stefaniuc
3e610753a8
joy.cpl: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Aric Stewart
afb9de281e
joy.cpl: Add parameters for Condition FF effects.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:03 +01:00
Sebastian Lackner
1224bfaa35
joy.cpl: Use variable of correct type to store LSTATUS value.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-13 22:41:03 +09:00
Bruno Jesus
4189095d87
joy.cpl: Display the correct number of button boxes during test.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-23 12:07:26 +09:00
Michael Stefaniuc
721c502db9
joy.cpl: Avoid pointers to out of scope variables (PVS-Studio).
2014-12-04 14:03:33 +01:00
Frédéric Delanoy
37d1753a5d
joy.cpl: Constify some character strings.
2013-12-17 08:45:36 +01:00
Alexandre Julliard
6528aff97b
joy.cpl: Return the correct id for the icon.
2013-06-06 11:33:10 +02:00
Gurmail Bassi
fbed1f7a80
joy.cpl: Fixed incorrect variable reference.
2013-04-22 12:33:30 +02:00
Andrew Talbot
3e2c44af7d
joy.cpl: Avoid signed-unsigned integer comparisons.
2013-03-11 10:42:56 +01:00
Marcus Meissner
bf8c45f3ed
joy.cpl: Added missing break; (Coverity).
2012-09-03 17:43:58 +02:00
Lucas Zawacki
78c8fe0db2
joy.cpl: Disable joysticks using joy.cpl.
2012-08-24 11:30:59 +02:00
Lucas Zawacki
e3af37eb1c
joy.cpl: Prevent crash on IDirectInputEffect_Release.
2012-08-21 17:47:45 +02:00
Marcus Meissner
f51b6e7847
joy.cpl: Avoid uninitialized variable usage (Coverity).
2012-08-20 10:55:53 +02:00
Lucas Zawacki
fc944144e3
joy.cpl: Correct misplaced elements when using high DPIs.
2012-08-14 12:00:49 +02:00
Lucas Zawacki
fb939873ba
joy.cpl: Remove uneeded FIXME message.
2012-08-13 11:46:29 +02:00
Lucas Zawacki
0204b30e84
joy.cpl: Added force feedback direction control.
2012-07-17 12:49:49 +02:00
Lucas Zawacki
37ce970629
joy.cpl: Tab for force feedback tests.
2012-07-17 12:49:16 +02:00
Lucas Zawacki
6e60adbf5b
joy.cpl: Correct joystick testing thread behavior.
2012-07-16 19:35:44 +02:00
Lucas Zawacki
d0977a2b8b
joy.cpl: Added POV axis visualization.
2012-06-28 11:35:07 +02:00
Lucas Zawacki
6cc9968125
joy.cpl: Hardcode axis name strings that were in joy.rc.
2012-06-19 22:03:21 +02:00
Francois Gouget
6d15b88897
joy.cpl: Make list_dlgproc() static.
2012-06-12 11:11:25 +02:00
Lucas Zawacki
69dda4cdcd
joy.cpl: Added trace messages to show joystick input.
2012-06-07 21:58:21 +02:00
Lucas Zawacki
af55e7dc45
joy.cpl: Added a Graphical Axis test.
2012-06-07 21:58:15 +02:00
Lucas Zawacki
fd951a7ec2
joy.cpl: Added joystick testing tab and button tests.
2012-06-07 21:49:47 +02:00
Lucas Zawacki
d4c8f771b2
joy.cpl: Added joystick listing.
2012-06-05 21:22:51 +02:00
Lucas Zawacki
033f4ae4b8
joy.cpl: First version of the joystick configuration applet.
2012-06-05 21:21:08 +02:00