dinput8/tests: Check setting DIPROP_AUTOCENTER on force-feedback joystick.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
62f5bbf3ed
commit
d5a44e98da
|
@ -7356,11 +7356,16 @@ static void test_force_feedback_joystick( void )
|
|||
hr = IDirectInputDevice8_SetCooperativeLevel( device, hwnd, DISCL_BACKGROUND | DISCL_NONEXCLUSIVE );
|
||||
ok( hr == DI_OK, "SetCooperativeLevel returned: %#x\n", hr );
|
||||
|
||||
prop_dword.diph.dwHow = DIPH_DEVICE;
|
||||
prop_dword.diph.dwObj = 0;
|
||||
prop_dword.dwData = DIPROPAUTOCENTER_ON;
|
||||
hr = IDirectInputDevice8_SetProperty( device, DIPROP_AUTOCENTER, &prop_dword.diph );
|
||||
todo_wine
|
||||
ok( hr == DI_OK, "SetProperty DIPROP_AUTOCENTER returned %#x\n", hr );
|
||||
|
||||
hr = IDirectInputDevice8_Acquire( device );
|
||||
ok( hr == DI_OK, "Acquire returned: %#x\n", hr );
|
||||
|
||||
prop_dword.diph.dwHow = DIPH_DEVICE;
|
||||
prop_dword.diph.dwObj = 0;
|
||||
prop_dword.dwData = 0xdeadbeef;
|
||||
hr = IDirectInputDevice8_SetProperty( device, DIPROP_FFGAIN, &prop_dword.diph );
|
||||
todo_wine
|
||||
|
|
Loading…
Reference in New Issue