SpatialInteractionControllerProperties.TouchpadX Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.