DirectX SDK |
The DirectInputDevice.GetEffectsEnum method enumerates force-feedback effects supported by the device, including standard effects as well as effects designed by the device manufacturer.
object.GetEffectsEnum( _ effType As CONST_DIEFTFLAGS) As DirectInputEnumEffects
DIEFT_ALL
DIEFT_CONDITION
DIEFT_CONSTANTFORCE
DIEFT_CUSTOMFORCE
DIEFT_HARDWARE
DIEFT_PERIODIC
DIEFT_RAMPFORCE
The method returns a DirectInputEnumEffects object whose methods can be used to retrieve information about the effects.
If the method fails, an error is raised and Err.Number will be set.