Commit 03181015 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

dinput/tests: Test for DIDOI_ASPECTPOSITION on joystick axes.

parent 5ce8a1a9
......@@ -142,6 +142,10 @@ static BOOL CALLBACK EnumAxes(const DIDEVICEOBJECTINSTANCEA *pdidoi, void *pCont
hr = IDirectInputDevice_SetProperty(info->pJoystick, DIPROP_DEADZONE, &dipdw.diph);
ok(hr==DI_OK,"IDirectInputDevice_SetProperty() failed: %08x\n", hr);
/* ensure DIDOI_ASPECTPOSITION is set for axes objects */
ok(pdidoi->dwFlags & DIDOI_ASPECTPOSITION, "Missing DIDOI_ASPECTPOSITION, flags are 0x%x\n",
pdidoi->dwFlags);
info->axis++;
} else if (IsEqualIID(&pdidoi->guidType, &GUID_POV))
info->pov++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment