mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 01:34:47 +00:00
dinput/tests: Assert that we can't get info about the third slider with c_dfDIJoystick2.
This commit is contained in:
parent
6719e6b2d3
commit
101bf6c8bd
|
@ -3054,6 +3054,10 @@ static void test_many_axes_joystick(void)
|
|||
ok( hr == DI_OK, "GetObjectInfo returned: %#lx\n", hr );
|
||||
check_object( &objinst, &expect_objects[8], NULL );
|
||||
|
||||
/* 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( &objinst, &expect_objects[10], &todo_flags );
|
||||
|
|
Loading…
Reference in a new issue