Skip to main content

IGameInputForceFeedbackEffect::GetMotorIndex

Retrieves the motor index associated with the force feedback effect.

Syntax

Parameters

This method has no parameters.

Return value

Type: uint32_t Returns the index of the associated motor.

Remarks

Every IGameInputForceFeedbackEffect instance retrieves a common set of information about the effect. The specific motor where the effect is loaded on the devices is done with the GetMotorIndex method. For more information, see Advanced GameInput topics.

Requirements

Header: GameInput.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

Overview of GameInput
IGameInputForceFeedbackEffect

Version History

Last modified on August 20, 2026