Partager via


GameInputFeedbackEffectState

Enumerates states of a force feedback effect.

Syntax

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

Constants

Constant Description
GameInputFeedbackStopped Stopped.
GameInputFeedbackRunning Running.
GameInputFeedbackPaused 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