Sweden-Number/dlls/dinput
Rémi Bernon ea93f283b5 dinput: Return DIERR_INVALIDPARAM instead of DIERR_INPUTLOST from Acquire.
MSDN states that the function can only return one of DIERR_INVALIDPARAM,
DIERR_NOTINITIALIZED, DIERR_OTHERAPPHASPRIO, on error, and DI_OK, or
DI_NOEFFECT, on success.

Some games will try to call Acquire again in a tight loop and block the
main thread if DIERR_INPUTLOST is returned. There's a small chance for
this to happen with Resident Evil 2, whenever a joystick is plugged,
then quickly unplugged.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-22 18:57:44 +01:00
..
tests
Makefile.in dinput: Build with msvcrt. 2021-10-11 10:58:38 +02:00
ansi.c dinput: Convert wide action format back to ansi in ConfigureDevices. 2021-12-20 17:52:33 +01:00
config.c dinput: Use msvcrt memory allocation functions. 2021-10-11 10:58:51 +02:00
data_formats.c
device.c dinput: Fully implement GetForceFeedbackState / GetEffectStatus. 2021-12-02 20:20:39 +01:00
device_private.h dinput: Improve GetForceFeedbackState / GetEffectStatus stubs. 2021-12-01 18:13:54 +01:00
dinput.rc
dinput.spec
dinput_classes.idl
dinput_main.c dinput: Update internal thread events list on every wake up. 2021-12-22 18:57:42 +01:00
dinput_private.h dinput: Simplify the internal thread and don't require loader lock. 2021-12-10 22:00:17 +01:00
joystick_hid.c dinput: Return DIERR_INVALIDPARAM instead of DIERR_INPUTLOST from Acquire. 2021-12-22 18:57:44 +01:00
keyboard.c dinput: Move GetProperty implementation for objects to generic device. 2021-11-18 11:11:55 +01:00
mouse.c dinput: Move GetProperty implementation for objects to generic device. 2021-11-18 11:11:55 +01:00
resource.h
version.rc