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

> GameInputHapticFeedbackMotorInfo

# GameInputHapticFeedbackMotorInfo

> [!WARNING]
>
> **Déconseillé.** 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-CA/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-CA/reference/input/gameinput/enums/gameinputrumblemotors.md)

Les moteurs de vibration (le cas échéant) auxquels ce moteur haptique est associé.

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

L'emplacement physique du moteur sur le périphérique.

**locationId**\
Type : uint32\_t

Un 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-CA/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é. Remplacé par [GameInputHapticInfo](https://docs.xbox.com/fr-CA/reference/input/gameinput/structs/gameinputhapticinfo.md). |
| **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)
[GameInputHapticInfo](https://docs.xbox.com/fr-CA/reference/input/gameinput/structs/gameinputhapticinfo.md)
[GameInputHapticWaveformInfo](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
[GameInputHapticFeedbackParams](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)


## Related topics

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