Share via


IGameInputForceFeedbackEffect (v1)

Describes and tracks a force feedback effect on a supporting input device.

Syntax

class IGameInputForceFeedbackEffect : public IUnknown

Methods

Method Description
GetDevice Gets the device linked to the force feedback effect.
GetGain Gets the gain value for a force feedback effect.
GetMotorIndex Gets the motor index linked to the force feedback effect.
GetParams Gets the parameters that define the force feedback effect.
GetState Gets the current state of a force feedback effect.
SetGain Sets the gain value for a force feedback effect.
SetParams Sets new parameters for a force feedback effect.
SetState Sets the state of a force feedback effect.

Remarks

If the tracked device is disconnected before the feedback effect finishes it's lifetime the feedback effect is orphaned and will always report its state as "stopped" until the resources are released.

Requirements

Header: GameInput.h

Supported platforms: Windows

See also

Input API Overview GameInput