> ## 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 (已淘汰)

> GameInputHapticFeedbackMotorInfo

# GameInputHapticFeedbackMotorInfo

> [!WARNING]
>
> **已淘汰。** 此結構已在 GameInput v1 中移除，目前的 API 中無法使用。請改用 [GameInputHapticInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/structs/gameinputhapticinfo.md)。

描述輸入裝置上的觸覺回饋馬達。

## 語法

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

## 成員

**mappedRumbleMotors**\
類型：[GameInputRumbleMotors](https://docs.xbox.com/zh-TW/reference/input/gameinput/enums/gameinputrumblemotors.md)

此觸覺馬達對應到哪些震動馬達 (若有的話)。

**location**\
類型：[GameInputLocation](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/enums/gameinputlocation.md)

此馬達在裝置上的實體位置。

**locationId**\
類型：uint32\_t

用來區分位於相同位置之各馬達的識別碼。

**waveformCount**\
類型：uint32\_t

此馬達支援的觸覺波形數目。

**waveformInfo**\
類型：const [GameInputHapticWaveformInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)\*

指向包含 `waveformCount` 個波形描述元之陣列的指標。

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v1** | 已移除。由 [GameInputHapticInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/structs/gameinputhapticinfo.md) 取代。 |
| **v0** | 推出。 |

## 另請參閱

[已淘汰的 GameInput API 成員](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputHapticInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/structs/gameinputhapticinfo.md)
[GameInputHapticWaveformInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
[GameInputHapticFeedbackParams](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)


## Related topics

- [GameInputHapticFeedbackParams (已淘汰)](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)
- [GameInputHapticWaveformInfo (已淘汰)](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
- [IGameInputDevice::SetHapticMotorState (已淘汰)](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
- [GameInputMotionInfo (已淘汰)](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputmotioninfo.md)
- [GameInputTouchSensorInfo (已淘汰)](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputtouchsensorinfo.md)
