FlightStickReading Struct
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.
The current state of the flight stick.
public value class FlightStickReading
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
struct FlightStickReading
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public struct FlightStickReading
var flightStickReading = {
timestamp : /* Your value */,
buttons : /* Your value */,
hatSwitch : /* Your value */,
roll : /* Your value */,
pitch : /* Your value */,
yaw : /* Your value */,
throttle : /* Your value */
}
Public Structure FlightStickReading
- Inheritance
-
FlightStickReading
- Attributes
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
For information about how to process the information provided in this structure, see Flight stick.
Buttons |
The button currently being pressed. |
Hat |
The position of the hat switch. |
Pitch |
The amount of pitch (rotation around the X-axis; forward and backward movement on the flight stick). |
Roll |
The amount of roll (rotation around the Z-axis; left and right movement on the flight stick). |
Throttle |
The position of the throttle. |
Timestamp |
The time that the reading was reported from the hardware. |
Yaw |
The amount of yaw (rotation around the Y-axis; usually read from twisting the joystick or from some other input). |
Product | Versions |
---|---|
WinRT | Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |