Loads the force feedback effects from file to the joystick.
XInput..::.PlayFFEffects(array<EffectObject>[]()[])XInput..::.PlayFFEffect(EffectObject)EffectObjectStart(Int32)
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public static EffectObject[] LoadFFEffects( string fileName ) |
Parameters
- fileName
- Type: System..::.String
File name.
Return Value
Effect objects array.
Remarks
The effects will be loaded to the first, default, joystick (Joystick).
If the joystick does not support the force feedback, it returns nullNothingnullptra null reference (Nothing in Visual Basic).