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

# GameInputHapticFeedbackMotorInfo (déconseillé)

> GameInputHapticFeedbackMotorInfo

# GameInputHapticFeedbackMotorInfo

> [!WARNING]
>
> **Obsolète.** Cette structure a été supprimée dans GameInput v1 et n'est pas disponible dans l'API actuelle. Utilisez plutôt [GameInputHapticInfo](https://docs.xbox.com/fr/reference/input/gameinput/structs/gameinputhapticinfo.md).

Décrit un moteur de retour haptique d'un périphérique d'entrée.

## Syntaxe

```cpp theme={null}
typedef struct GameInputHapticFeedbackMotorInfo {
    GameInputRumbleMotors mappedRumbleMotors;
    GameInputLocation location;
    uint32_t locationId;
    uint32_t waveformCount;
    const GameInputHapticWaveformInfo* waveformInfo;
} GameInputHapticFeedbackMotorInfo;
```

## Membres

**mappedRumbleMotors**\
Type : [GameInputRumbleMotors](https://docs.xbox.com/fr/reference/input/gameinput/enums/gameinputrumblemotors.md)

Moteurs de vibration (le cas échéant) auxquels ce moteur haptique est mappé.

**location**\
Type : [GameInputLocation](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/enums/gameinputlocation.md)

Emplacement physique du moteur sur le périphérique.

**locationId**\
Type : uint32\_t

Identificateur permettant de distinguer les moteurs situés au même emplacement.

**waveformCount**\
Type : uint32\_t

Nombre de formes d'onde haptiques prises en charge par ce moteur.

**waveformInfo**\
Type : const [GameInputHapticWaveformInfo](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)\*

Pointeur vers un tableau de `waveformCount` descripteurs de forme d'onde.

## Historique des versions

| Version | Modifications |
| - | - |
| **v1** | Supprimée. Remplacée par [GameInputHapticInfo](https://docs.xbox.com/fr/reference/input/gameinput/structs/gameinputhapticinfo.md). |
| **v0** | Introduite. |

## Voir aussi

[Membres obsolètes de l'API GameInput](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputHapticInfo](https://docs.xbox.com/fr/reference/input/gameinput/structs/gameinputhapticinfo.md)
[GameInputHapticWaveformInfo](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
[GameInputHapticFeedbackParams](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)


## Related topics

- [GameInputHapticFeedbackParams (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)
- [GameInputHapticWaveformInfo (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
- [IGameInputDevice::SetHapticMotorState (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
- [GameInputForceFeedbackMotorInfo](https://docs.xbox.com/fr/reference/input/gameinput/structs/gameinputforcefeedbackmotorinfo.md)
- [Xbox Accessibility Guideline 110](https://docs.xbox.com/fr/build/game-principles/accessibility/xag-deep-dives/xag-110-haptic-feedback.md)
