> ## 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 (déprécié)

> GameInputHapticFeedbackParams

# GameInputHapticFeedbackParams

> [!WARNING]
>
> **Déconseillé.** Cette structure a été supprimée dans GameInput v1 et n'est pas disponible dans l'API actuelle.

Décrit les paramètres d'un effet de retour haptique à lire sur un moteur de périphérique.

## Syntaxe

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

## Membres

**waveformIndex**\
Type : uint32\_t

Index dans le tableau de formes d'onde du moteur (provenant de `GameInputHapticFeedbackMotorInfo.waveformInfo`) identifiant la forme d'onde à lire.

**duration**\
Type : uint64\_t

Durée de l'effet en microsecondes. Définissez la valeur à 0 pour utiliser la durée par défaut de la forme d'onde.

**intensity**\
Type : float

Intensité de l'effet dans la plage \[0.0, 1.0].

**playCount**\
Type : uint32\_t

Nombre de répétitions de la forme d'onde. Définissez la valeur à 0 pour une répétition indéfinie.

**repeatDelay**\
Type : uint64\_t

Délai en microsecondes entre les répétitions.

## Historique des versions

| Version | Modifications |
| - | - |
| **v1** | Supprimé. |
| **v0** | Introduit. |

## Voir aussi

[Membres déconseillés de l'API GameInput](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[IGameInputDevice::SetHapticMotorState](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
[GameInputHapticFeedbackMotorInfo](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)


## Related topics

- [GameInputHapticFeedbackMotorInfo (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
- [IGameInputDevice::SetHapticMotorState (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
- [GameInputHapticWaveformInfo (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
- [GameInputForceFeedbackParams](https://docs.xbox.com/fr-CA/reference/input/gameinput/structs/gameinputforcefeedbackparams.md)
- [GameInputForceFeedbackConditionParams](https://docs.xbox.com/fr-CA/reference/input/gameinput/structs/gameinputforcefeedbackconditionparams.md)
