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.
Describes a rumble effect produced by a standard controller.
Syntax
typedef struct GameInputRumbleParams {
float lowFrequency;
float highFrequency;
float leftTrigger;
float rightTrigger;
} GameInputRumbleParams
Members
lowFrequency
Type: float
Intensity of the low-frequency rumble motor as a normalized value in the range of [0.0, 1.0].
highFrequency
Type: float
Intensity of the high-frequency rumble motor as a normalized value in the range of [0.0, 1.0].
leftTrigger
Type: float
Intensity of the left trigger rumble motor as a normalized value in the range of [0.0, 1.0].
rightTrigger
Type: float
Intensity of the right trigger rumble motor as a normalized value in the range of [0.0, 1.0].
Remarks
This structure is used by the SetRumbleState method. The structure is modeled on four-motor controllers. However, the structure is also usable on controllers that don't have all four motors, such as controllers used for PC gaming.
Requirements
Header: GameInput.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles