Megosztás a következőn keresztül:


RacingWheelReading Struct

Definition

Represents the current state of the racing wheel.

public value class RacingWheelReading
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
struct RacingWheelReading
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public struct RacingWheelReading
var racingWheelReading = {
timestamp : /* Your value */,
buttons : /* Your value */,
patternShifterGear : /* Your value */,
wheel : /* Your value */,
throttle : /* Your value */,
brake : /* Your value */,
clutch : /* Your value */,
handbrake : /* Your value */
}
Public Structure RacingWheelReading
Inheritance
RacingWheelReading
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Brake

The position of the brake.

Buttons

The state of the racing wheel buttons.

Clutch

The position of the clutch.

Handbrake

The position of the handbrake.

PatternShifterGear

The gear the pattern shifter is in.

Throttle

The position of the throttle.

Timestamp

Time when the state was retrieved from the racing wheel.

Wheel

The angle of the wheel.

Applies to