Share via


GameInputFeedbackEffectState

Enumerates states of a force feedback effect.

Syntax

enum GameInputFeedbackEffectState
{
    GameInputFeedbackStopped = 0,
    GameInputFeedbackRunning = 1,
    GameInputFeedbackPaused  = 2
};

Constants

Constant Description
GameInputFeedbackStopped Indicates that feedback is currently stopped.
GameInputFeedbackRunning Indicates that feedback is currently running.
GameInputFeedbackPaused Indicates that feedback is currently paused.

Remarks

This enumeration is used by the IGameInputForceFeedbackEffect::SetState and IGameInputForceFeedbackEffect::GetState methods. If a device is disconnected, GetState always returns GameInputFeedbackStopped.

For more information, see the "Applying and updating force feedback effects" section of Force feedback on GameInput.

Requirements

Header: GameInput.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

Overview of GameInput
GameInput