Microsoft DirectX 9.0 SDK Update (October 2004)

DeviceProperties.GetSaturation Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves a 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).

Definition

Visual Basic .NET Public Function GetSaturation( _
    ByVal how As ParameterHow, _
    ByVal objectId As Integer _
) As Integer
C# public int GetSaturation(
    ParameterHow how,
    int objectId
);
Managed C++ public: int GetSaturation(
    ParameterHow how,
    int objectId
);
JScript .NET public function GetSaturation(
    how : ParameterHow,
    objectId : int
) : int;

Parameters

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

Return Value

System.Int32 .


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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