DirectX SDK

CONST_DIEFFFLAGS

Members of the CONST_DIEFFFLAGS enumeration are used in the lFlags member of the DIEFFECT type.

Enum CONST_DIEFFFLAGS
    DIEFF_CARTESIAN =    16 (&H10)
    DIEFF_OBJECTOFFSETS = 2
    DIEFF_POLAR =        32 (&H20)
End Enum
DIEFF_CARTESIAN
The direction of the effect is given in Cartesian coordinates. DIEFFECT.x and DIEFFECT.y contain valid values.
DIEFF_OBJECTOFFSETS
The value of the lTriggerButton member of DIEFFECT is the offset of the button in the data structure for the device.
DIEFF_POLAR
The direction of the effect is given in polar coordinates. DIEFFECT.x contains a valid value.

Remarks

The default behavior of DirectInputDevice.CreateEffect and DirectInputDevice.CreateCustomEffect is to create the effect as if DIEFFECT.lFlags contained (DIEFF_OBJECTOFFSETS Or DIEFF_POLAR). In other words, it is not necessary to specify these flags.