wine-wine/dlls/dinput
Alistair Leslie-Hughes b37845dbcc dinput: Cap the buffer size to 20.
When a program calls SetProperty with DIPROP_BUFFERSIZE, dinput records
this value for GetProperty but only uses it when the device can support
that number of buffers otherwise a max value.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45732
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 8d05256172)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2020-04-08 23:31:16 +02:00
..
tests dinput: Cap the buffer size to 20. 2020-04-08 23:31:16 +02:00
Makefile.in dinput: Move the version resource to a separate file. 2018-12-20 15:34:01 +01:00
config.c dinput: Ensure Cursor is visible on config dialog. 2019-08-14 22:34:26 +02:00
data_formats.c dinput: Avoid ARRAY_SIZE-like macros. 2018-07-06 19:44:26 +02:00
device.c dinput: Cap the buffer size to 20. 2020-04-08 23:31:16 +02:00
device_private.h dinput: Cap the buffer size to 20. 2020-04-08 23:31:16 +02:00
dinput.rc dinput: Move the version resource to a separate file. 2018-12-20 15:34:01 +01:00
dinput.spec
dinput_classes.idl
dinput_main.c dinput: Fix a possible deadlock at exit. 2019-08-14 22:34:26 +02:00
dinput_private.h dinput: Avoid deadlock when CS are acquired in different order. 2019-08-14 22:34:25 +02:00
effect_linuxinput.c
joystick.c dinput: Ensure buffer doesn't overflow (Coverity). 2019-11-14 23:44:58 +01:00
joystick_linux.c dinput: Allow enumeration of joysticks with DirectX 3. 2019-08-14 22:34:26 +02:00
joystick_linuxinput.c dinput: Ensure buffer doesn't overflow (Coverity). 2019-11-14 23:44:58 +01:00
joystick_osx.c dinput: Handle case where IOHIDDeviceGetValue fails. 2019-11-14 23:44:57 +01:00
joystick_private.h
keyboard.c dinput: Use the same GUID for Instance and Product. 2018-10-31 17:22:36 +01:00
mouse.c dinput: Use the same GUID for Instance and Product. 2018-10-31 17:22:36 +01:00
resource.h
version.rc dinput: Move the version resource to a separate file. 2018-12-20 15:34:01 +01:00