> ## 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.

# GameInputHapticFeedbackParams (Deprecated)

> GameInputHapticFeedbackParams

> [!WARNING]
>
> **Deprecated.** This structure was removed in GameInput v1 and is not available in the current API.

Describes the parameters of a haptic feedback effect to play on a device motor.

## Syntax

```cpp theme={null}
typedef struct GameInputHapticFeedbackParams {
    uint32_t waveformIndex;
    uint64_t duration;
    float intensity;
    uint32_t playCount;
    uint64_t repeatDelay;
} GameInputHapticFeedbackParams;
```

## Members

**waveformIndex**\
Type: uint32\_t

Index into the motor's waveform array (from `GameInputHapticFeedbackMotorInfo.waveformInfo`) identifying the waveform to play.

**duration**\
Type: uint64\_t

Duration of the effect in microseconds. Set to 0 to use the waveform's default duration.

**intensity**\
Type: float

Intensity of the effect in the range \[0.0, 1.0].

**playCount**\
Type: uint32\_t

Number of times to repeat the waveform. Set to 0 for indefinite repetition.

**repeatDelay**\
Type: uint64\_t

Delay in microseconds between repetitions.

## Version History

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

## See also

[Deprecated GameInput API members](https://docs.xbox.com/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[IGameInputDevice::SetHapticMotorState](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
[GameInputHapticFeedbackMotorInfo](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)


## Related topics

- [GameInputHapticFeedbackMotorInfo (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
- [IGameInputDevice::SetHapticMotorState (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
- [GameInputHapticWaveformInfo (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
- [GameInput hardware: force feedback, haptics, and sensors](https://docs.xbox.com/build/core-features/common/input/hardware/index.md)
- [GameInputForceFeedbackParams](https://docs.xbox.com/reference/input/gameinput/structs/gameinputforcefeedbackparams.md)
