IGameInputDevice::SetHapticMotorState
設定裝置上指定馬達的觸覺馬達狀態。語法
參數
motorIndex _In_類型:uint32_t 要設定之觸覺馬達的索引 (從零開始)。 params _In_
類型:const GameInputHapticFeedbackParams* 指向 GameInputHapticFeedbackParams 結構的指標,描述要播放的觸覺效果。
傳回值
類型:HRESULT 傳回 E_NOTIMPL,因為此方法在 v0 中從未實作。備註
此方法已在 v1 中與 GameInputHapticFeedbackParams 結構一併移除。在目前的 API 中,觸覺回饋是透過 IGameInputDevice::SetForceFeedbackMotorGain 和 IGameInputForceFeedbackEffect 控制。版本歷程記錄
另請參閱
已淘汰的 GameInput API 成員GameInputHapticFeedbackParams
IGameInputDevice
