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

# GameInputForceFeedbackConstantParams

> GameInputForceFeedbackConstantParams

Defines a constant physical aspect of a force-feedback effect.

## Syntax

```cpp theme={null}
struct GameInputForceFeedbackConstantParams
{
    GameInputForceFeedbackEnvelope  envelope;
    GameInputForceFeedbackMagnitude magnitude;
};
```

### Members

*envelope*\

Type: [GameInputForceFeedbackEnvelope](https://docs.xbox.com/reference/input/gameinput/structs/gameinputforcefeedbackenvelope.md)

The modifying envelope on a force-feedback effect.

*magnitude*\

Type: [GameInputForceFeedbackMagnitude](https://docs.xbox.com/reference/input/gameinput/structs/gameinputforcefeedbackmagnitude.md)

The amount of force being applied by a force-feedback effect.

## Remarks

`GameInputForceFeedbackConstantParams` is a member of the [GameInputForceFeedbackParams](https://docs.xbox.com/reference/input/gameinput/structs/gameinputforcefeedbackparams.md) structure.

The `CreateForceFeedbackEffect` method allocates hardware resources in the motor for a new force feedback-effect with a specified set of parameters and returns an `IGameInputForceFeedbackEffect` instance to track those resources.  A `HRESULT` error is returned if there are insufficient hardware resources to create the effect or if the requested effect is not supported by the hardware. Force-feedback effects are defined by their parameters and are stored in the `GameInputForceFeedbackParams` structure.

## Requirements

**Header:** GameInput.h

[Advanced GameInput topics](https://docs.xbox.com/build/core-features/common/input/advanced/input-advanced-topics.md)\
[Overview of GameInput](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\
[GameInput](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)

## Version History

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


## Related topics

- [GameInputForceFeedbackMagnitude](https://docs.xbox.com/reference/input/gameinput/structs/gameinputforcefeedbackmagnitude.md)
- [GameInputForceFeedbackEnvelope](https://docs.xbox.com/reference/input/gameinput/structs/gameinputforcefeedbackenvelope.md)
- [GameInputForceFeedbackParams](https://docs.xbox.com/reference/input/gameinput/structs/gameinputforcefeedbackparams.md)
- [GameInput API members](https://docs.xbox.com/reference/input/gameinput/gameinput_members.md)
- [Force feedback on GameInput](https://docs.xbox.com/build/core-features/common/input/advanced/input-forcefeedback.md)
