> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GameInputFeedbackEffectState

> GameInputFeedbackEffectState

# GameInputFeedbackEffectState

Enumerates states of a force feedback effect.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
enum GameInputFeedbackEffectState
{
    GameInputFeedbackStopped = 0,
    GameInputFeedbackRunning = 1,
    GameInputFeedbackPaused  = 2
};
```

<a id="constantsSection" />

## Constants

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

<a id="remarksSection" />

## Remarks

This enumeration is used by the [IGameInputForceFeedbackEffect::SetState](/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/methods/igameinputforcefeedbackeffect_setstate) and [IGameInputForceFeedbackEffect::GetState](/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/methods/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](/build/core-features/common/input/advanced/input-forcefeedback).

<a id="requirementsSection" />

## Requirements

**Header:** GameInput.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[Overview of GameInput](/build/core-features/common/input/overviews/input-overview)\
[GameInput](/reference/input/gameinput/gameinput_members)

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v0**  | Introduced. |


## Related topics

- [IGameInputForceFeedbackEffect::GetState](/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/methods/igameinputforcefeedbackeffect_getstate.md)
- [IGameInputForceFeedbackEffect::SetState](/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/methods/igameinputforcefeedbackeffect_setstate.md)
- [Force feedback on GameInput](/build/core-features/common/input/advanced/input-forcefeedback.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
- [IGameInputForceFeedbackEffect](/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/igameinputforcefeedbackeffect.md)
