IGameInputDevice::SetForceFeedbackMotorGain
Applies a global attenuation factor to all loaded effects on a motor.Syntax
Parameters
motorIndex _In_Type: uint32_t Index of the motor to be changed. masterGain _In_
Type: float Global attenuation factor to all loaded effects on the motor between 0.0 and 1.0.
Return value
None.Remarks
This method applies a global attenuation factor to all loaded effects on the motor. ThemasterGain pointer accepts values between 0.0 and 1.0. This is used by the application’s force feedback strength settings. For more information, see Overview of GameInput.
Requirements
Header: GameInput.h GameInputIGameInputDevice
