Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Applies a global attenuation factor to all loaded effects on a motor.
Syntax
void SetForceFeedbackMotorGain(
uint32_t motorIndex,
float masterGain
)
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
Not currently implemented.
This method applies a global attenuation factor to all loaded effects on the motor. The masterGain pointer accepts values between 0.0 and 1.0. This is used by the application's forced feedback strength settings. For more information, see Overview of GameInput.
Requirements
Header: GameInput.h
Library: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles