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

# GameInputHapticFeedbackParams

> GameInputHapticFeedbackParams

# GameInputHapticFeedbackParams

<Warning>**Deprecated.** This structure was removed in GameInput v1 and is not available in the current API.</Warning>

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](/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[IGameInputDevice::SetHapticMotorState](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate)
[GameInputHapticFeedbackMotorInfo](/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo)


## Related topics

- [XAG 110: Haptic feedback](/build/game-principles/accessibility/xag-deep-dives/xag-110-haptic-feedback.md)
- [IGameInputDevice::SetHapticMotorState](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
- [GameInputHapticFeedbackMotorInfo](/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
- [GameInputHapticWaveformInfo](/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
- [GameInput](/reference/input/gameinput/gameinput_members.md)
