DeviceProperties.SetSaturation Method

Language:

Sets the value for the saturation zones of a joystick, in the range from 0 through 10,000. The saturation level is the point at which the axis is considered to be at its most extreme position. For example, if the saturation level is set to 9,500, the axis reaches the extreme of its range when it has moved 95 percent of the physical distance from its center position (or from the dead zone). This setting can be applied to either the entire device or a specific axis.

Definition

Visual Basic Public Sub SetSaturation( _
    ByVal how As ParameterHow, _
    ByVal objectId As Integer, _
    ByVal value As Integer _
)
C# public void SetSaturation(
    ParameterHow how,
    int objectId,
    int value
);
C++ public:
void SetSaturation(
    ParameterHow how,
    int objectId,
    int value
);
JScript public function SetSaturation(
    how : ParameterHow,
    objectId : int,
    value : int
);

Parameters

how Microsoft.DirectX.DirectInput.ParameterHow
objectId System.Int32
value System.Int32

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center