Share via


SpatialInteractionControllerProperties.ThumbstickX Property

Definition

Gets a value between -1.0 and 1.0 representing the horizontal position of the thumbstick.

public:
 property double ThumbstickX { double get(); };
double ThumbstickX();
public double ThumbstickX { get; }
var double = spatialInteractionControllerProperties.thumbstickX;
Public ReadOnly Property ThumbstickX As Double

Property Value

Double

double

The thumbstick X value.

Remarks

This value ranges from -1.0 on the left to 1.0 on the right, with a center near 0.0. Note that there is no deadzone applied, so this value will not quite reach 0.0 when the thumbstick is released.

Applies to