Share via


GameInputForceFeedbackMagnitude

Defines the magnitude of the force exhibited by a force-feedback effect.

Syntax

struct GameInputForceFeedbackMagnitude
{
    float linearX;
    float linearY;
    float linearZ;
    float angularX;
    float angularY;
    float angularZ;
    float normal;
};

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

Overview of GameInput
GameInputForceFeedbackConditionParams
GameInputForceFeedbackConstantParams
GameInputForceFeedbackPeriodicParams
GameInputForceFeedbackRampParams
GameInput