Microsoft DirectX 9.0 SDK Update (October 2004)

DeviceProperties.GetDeadZone Method

Language:

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

Retrieves a value for the dead zone of a joystick, in the range from 0 through 10,000, where 0 indicates that there is no dead zone, 5,000 indicates that the dead zone extends over 50 percent of the physical range of the axis on both sides of center, and 10,000 indicates that the entire physical range of the axis is dead. When the axis is within the dead zone, it is reported as being at the center of its range.

Definition

Visual Basic .NET Public Function GetDeadZone( _
    ByVal how As ParameterHow, _
    ByVal objectId As Integer _
) As Integer
C# public int GetDeadZone(
    ParameterHow how,
    int objectId
);
Managed C++ public: int GetDeadZone(
    ParameterHow how,
    int objectId
);
JScript .NET public function GetDeadZone(
    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