| ThumbstickReading Constructor |
Namespace: Microsoft.IoT.DeviceCore.InputAssembly: Microsoft.IoT.DeviceCore (in Microsoft.IoT.DeviceCore.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public ThumbstickReading(
double xAxis,
double yAxis,
bool isPressed
)
Public Sub New (
xAxis As Double,
yAxis As Double,
isPressed As Boolean
)
public:
ThumbstickReading(
[InAttribute] double xAxis,
[InAttribute] double yAxis,
[InAttribute] bool isPressed
)
new :
xAxis : float *
yAxis : float *
isPressed : bool -> ThumbstickReading
Parameters
- xAxis
- Type: SystemDouble
The current value of the X axis
- yAxis
- Type: SystemDouble
The current value of the Y axis
- isPressed
- Type: SystemBoolean
A value that indicates if the button is pressed
See Also