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

# GameInputHapticFeedbackMotorInfo

> GameInputHapticFeedbackMotorInfo

# GameInputHapticFeedbackMotorInfo

<Warning>**Preterido.** Esta estrutura foi removida no GameInput v1 e não está disponível na API atual. Use [GameInputHapticInfo](/pt-BR/reference/input/gameinput/structs/gameinputhapticinfo) em vez disso.</Warning>

Descreve um motor de feedback háptico em um dispositivo de entrada.

## Sintaxe

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

## Membros

**mappedRumbleMotors**\
Tipo: [GameInputRumbleMotors](/pt-BR/reference/input/gameinput/enums/gameinputrumblemotors)

Para quais motores de vibração (se houver) este motor háptico está mapeado.

**location**\
Tipo: [GameInputLocation](/pt-BR/reference/input/gameinput/deprecated/enums/gameinputlocation)

A localização física do motor no dispositivo.

**locationId**\
Tipo: uint32\_t

Um identificador que distingue motores na mesma localização.

**waveformCount**\
Tipo: uint32\_t

Número de formas de onda hápticas compatíveis com este motor.

**waveformInfo**\
Tipo: const [GameInputHapticWaveformInfo](/pt-BR/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo)\*

Ponteiro para uma matriz de `waveformCount` descritores de forma de onda.

## Histórico de versões

| Versão | Alterações |
| - | - |
| **v1** | Removida. Substituída por [GameInputHapticInfo](/pt-BR/reference/input/gameinput/structs/gameinputhapticinfo). |
| **v0** | Introduzida. |

## Confira também

[Membros preteridos da API GameInput](/pt-BR/reference/input/gameinput/deprecated/gameinput_deprecated_members)
[GameInputHapticInfo](/pt-BR/reference/input/gameinput/structs/gameinputhapticinfo)
[GameInputHapticWaveformInfo](/pt-BR/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo)
[GameInputHapticFeedbackParams](/pt-BR/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams)


## Related topics

- [GameInputHapticFeedbackMotorInfo](/zh-CN/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
- [GameInputHapticFeedbackParams](/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)
