Loads the force feedback effects from file to the joystick. XInput..::.PlayFFEffects(array<EffectObject>[]()[])XInput..::.PlayFFEffect(EffectObject)EffectObjectStart(Int32)

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static EffectObject[] LoadFFEffects(
	Device joystick,
	string fileName
)

Parameters

joystick
Type: Device
Joystick device.
fileName
Type: System..::.String
File name.

Return Value

Effect objects array.

Remarks

If the joystick is nullNothingnullptra null reference (Nothing in Visual Basic) or does not support the force feedback, it returns nullNothingnullptra null reference (Nothing in Visual Basic).

See Also