FlightStickReading FlightStickReading FlightStickReading FlightStickReading Struct

Definition

The current state of the flight stick.

public : struct FlightStickReadingpublic struct FlightStickReadingPublic Structure FlightStickReading// You can use this struct in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

For information about how to process the information provided in this structure, see Flight stick.

Fields

Buttons Buttons Buttons Buttons

The button currently being pressed.

public : field FlightStickButtons Buttonspublic field FlightStickButtons ButtonsPublic Field Buttons// You can use this field in JavaScript.

HatSwitch HatSwitch HatSwitch HatSwitch

The position of the hat switch.

public : field GameControllerSwitchPosition HatSwitchpublic field GameControllerSwitchPosition HatSwitchPublic Field HatSwitch// You can use this field in JavaScript.

Pitch Pitch Pitch Pitch

The amount of pitch (rotation around the X-axis; forward and backward movement on the flight stick).

public : field double Pitchpublic field double PitchPublic Field Pitch// You can use this field in JavaScript.

Roll Roll Roll Roll

The amount of roll (rotation around the Z-axis; left and right movement on the flight stick).

public : field double Rollpublic field double RollPublic Field Roll// You can use this field in JavaScript.

Throttle Throttle Throttle Throttle

The position of the throttle.

public : field double Throttlepublic field double ThrottlePublic Field Throttle// You can use this field in JavaScript.

Timestamp Timestamp Timestamp Timestamp

The time that the reading was reported from the hardware.

public : field ulong Timestamppublic field ulong TimestampPublic Field Timestamp// You can use this field in JavaScript.

Yaw Yaw Yaw Yaw

The amount of yaw (rotation around the Y-axis; usually read from twisting the joystick or from some other input).

public : field double Yawpublic field double YawPublic Field Yaw// You can use this field in JavaScript.