Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
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
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 force feedback strength settings. For more information, see Overview of GameInput.
Requirements
Header: GameInput.h
Library: gameinput.lib
Supported platforms: Windows