IGameInputDevice::SetHapticMotorState
设置设备上指定马达的触觉马达状态。语法
参数
motorIndex _In_类型:uint32_t 要设置的触觉马达的从零开始的索引。 params _In_
类型:const GameInputHapticFeedbackParams* 指向描述要播放的触觉效果的 GameInputHapticFeedbackParams 结构的指针。
返回值
类型:HRESULT 返回 E_NOTIMPL,因为此方法在 v0 中从未实现。备注
此方法与 GameInputHapticFeedbackParams 结构一同在 v1 中被移除。当前 API 中的触觉反馈通过 IGameInputDevice::SetForceFeedbackMotorGain 和 IGameInputForceFeedbackEffect 进行控制。版本历史
另请参阅
已弃用的 GameInput API 成员GameInputHapticFeedbackParams
IGameInputDevice
