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

# GameInputHapticWaveformInfo (déprécié)

> GameInputHapticWaveformInfo

# GameInputHapticWaveformInfo

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

Décrit une forme d'onde haptique pouvant être lue sur un moteur de retour haptique.

## Syntaxe

```cpp theme={null}
typedef struct GameInputHapticWaveformInfo {
    GameInputUsage usage;
    bool isDurationSupported;
    bool isIntensitySupported;
    bool isRepeatSupported;
    bool isRepeatDelaySupported;
    uint64_t defaultDuration;
} GameInputHapticWaveformInfo;
```

## Membres

**usage**\
Type : GameInputUsage

L'utilisation HID identifiant cette forme d'onde.

**isDurationSupported**\
Type : bool

Indique si le champ `duration` de [GameInputHapticFeedbackParams](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md) est pris en charge pour cette forme d'onde.

**isIntensitySupported**\
Type : bool

Indique si le champ `intensity` de [GameInputHapticFeedbackParams](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md) est pris en charge.

**isRepeatSupported**\
Type : bool

Indique si le champ `playCount` est pris en charge.

**isRepeatDelaySupported**\
Type : bool

Indique si le champ `repeatDelay` est pris en charge.

**defaultDuration**\
Type : uint64\_t

La durée de lecture par défaut de la forme d'onde en microsecondes.

## 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)
[GameInputHapticFeedbackMotorInfo](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
[GameInputHapticFeedbackParams](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)


## Related topics

- [GameInputHapticFeedbackMotorInfo (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
- [GameInputHapticFeedbackParams (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)
- [IGameInputDevice::SetHapticMotorState (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
- [GameInputHapticInfo](https://docs.xbox.com/fr-CA/reference/input/gameinput/structs/gameinputhapticinfo.md)
- [GameInputMotionInfo (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputmotioninfo.md)
