34b0b4accb
SetParameters returns DI_DOWNLOADSKIPPED if the device is not acquired exclusively. This fixes Assetto Corsa Competizione and Assetto Corsa not having FFB due to calling CreateEffect before acquiring the device, which skips the effect download and returns DI_DOWNLOADSKIPPED. In particular, ACC tries twice to create the effect, and each time they unacquire the device to turn off the autocenter, and then create the effect while still in unacquired state, which in turn returns DI_DOWNLOADSKIPPED, etc. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51922 Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> |
||
---|---|---|
.. | ||
tests | ||
Makefile.in | ||
ansi.c | ||
config.c | ||
data_formats.c | ||
device.c | ||
device_private.h | ||
dinput.rc | ||
dinput.spec | ||
dinput_classes.idl | ||
dinput_main.c | ||
dinput_private.h | ||
joystick_hid.c | ||
keyboard.c | ||
mouse.c | ||
resource.h | ||
version.rc |