From: Arkadiusz Hiler <ahiler(a)codeweavers.com> --- dlls/dinput/tests/joystick8.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/dinput/tests/joystick8.c b/dlls/dinput/tests/joystick8.c index 3cd46058dcf..e391104bc97 100644 --- a/dlls/dinput/tests/joystick8.c +++ b/dlls/dinput/tests/joystick8.c @@ -3107,6 +3107,10 @@ static void test_many_axes_joystick(void) check_object_inst( objinst, expect_objects[8] ); check_member( objinst, expect_objects[8], "%#lx", dwFlags ); + /* c_dfDIJoystick2 is broken when it comes to more than two sliders */ + hr = IDirectInputDevice8_GetObjectInfo( device, &objinst, offsetof(DIJOYSTATE2, rglVSlider[0]), DIPH_BYOFFSET ); + ok( hr == DIERR_NOTFOUND, "GetObjectInfo returned: %#lx\n", hr ); + hr = IDirectInputDevice8_GetObjectInfo( device, &objinst, offsetof(DIJOYSTATE2, lVX), DIPH_BYOFFSET ); ok( hr == DI_OK, "GetObjectInfo returned: %#lx\n", hr ); check_object_inst( objinst, expect_objects[10] ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/507