Skip to main content

IGameInputDevice::SetHapticMotorState

Deprecated. This method was removed in GameInput v1 and is not available in the current API.
Sets the haptic motor state for the specified motor on the device.

Syntax

Parameters

motorIndex   _In_
Type: uint32_t
The zero-based index of the haptic motor to set. params   _In_
Type: const GameInputHapticFeedbackParams*
A pointer to a GameInputHapticFeedbackParams structure describing the haptic effect to play.

Return value

Type: HRESULT Returns E_NOTIMPL, as this method was never implemented in v0.

Remarks

This method was removed in v1 along with the GameInputHapticFeedbackParams struct. Haptic feedback in the current API is controlled through IGameInputDevice::SetForceFeedbackMotorGain and IGameInputForceFeedbackEffect.

Version History

See also

Deprecated GameInput API members
GameInputHapticFeedbackParams
IGameInputDevice
Last modified on August 4, 2026