Share via


SpatialInteractionControllerProperties.TouchpadX Property

Definition

Gets a value between -1.0 and 1.0 representing the horizontal position of the user's finger on the touchpad.

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

Property Value

Double

double

The touchpad X value.

Remarks

This value ranges from -1.0 on the left to 1.0 on the right, with a center of 0.0.

Inspect IsTouchpadTouched before reading this value to ensure that the user is touching the touchpad.

Applies to