Skip to main content

GameInputHapticFeedbackMotorInfo

已弃用。 此结构已在 GameInput v1 中移除,当前 API 中不再提供。请改用 GameInputHapticInfo
描述输入设备上的触觉反馈马达。

语法

成员

mappedRumbleMotors
类型:GameInputRumbleMotors
此触觉马达映射到的震动马达(如果有)。 location
类型:GameInputLocation
马达在设备上的物理位置。 locationId
类型:uint32_t
用于区分同一位置上不同马达的标识符。 waveformCount
类型:uint32_t
此马达支持的触觉波形数量。 waveformInfo
类型:const GameInputHapticWaveformInfo*
指向 waveformCount 个波形描述符数组的指针。

版本历史

另请参阅

已弃用的 GameInput API 成员 GameInputHapticInfo GameInputHapticWaveformInfo GameInputHapticFeedbackParams
最后修改于 2026年8月13日