ea93f283b5
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> |
||
---|---|---|
.. | ||
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 |