Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the magnitude of the force exhibited by a force-feedback effect.
Syntax
typedef struct GameInputForceFeedbackMagnitude {
float linearX;
float linearY;
float linearZ;
float angularX;
float angularY;
float angularZ;
float normal;
} GameInputForceFeedbackMagnitude
Members
linearX
Type: float
Magnitude of the force-feedback effect in the linear-X direction.
linearY
Type: float
Magnitude of the force-feedback effect in the linear-Y direction.
linearZ
Type: float
Magnitude of the force-feedback effect in the linear-Z direction.
angularX
Type: float
Magnitude of the force-feedback effect in the angular-X direction.
angularY
Type: float
Magnitude of the force-feedback effect in the angular-Y direction.
angularZ
Type: float
Magnitude of the force-feedback effect in the angular-Z direction.
normal
Type: float
Magnitude for the force-feedback effect of a directionless force-feedback effect.
Remarks
GameInputForceFeedbackMagnitude
defines the magnitude of force exhibited by a force-feedback effect. It is a member of the GameInputForceFeedbackConditionParams
, GameInputForceFeedbackConstantParams
, GameInputForceFeedbackPeriodicParams
, and
GameInputForceFeedbackRampParams
structures. For more information, see Advanced GameInput topics.
Requirements
Header: GameInput.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles
See also
Overview of GameInput
GameInputForceFeedbackConditionParams
GameInputForceFeedbackConstantParams
GameInputForceFeedbackPeriodicParams
GameInputForceFeedbackRampParams
GameInput