GameInputRacingWheelState
Describes the state of a racing wheel.Syntax
Members
buttonsType: GameInputRacingWheelButtons State of the buttons on a racing wheel. patternShifterGear
Type: int32_t Current gear selected on the pattern shifter. wheel
Type: float Position of the wheel, normalized as a value in the range [-1.0, 1.0]. throttle
Type: float Position of the throttle, normalized as a value in the range [0.0, 1.0]. brake
Type: float Position of the brake, normalized as a value in the range [0.0, 1.0]. clutch
Type: float Position of the clutch, normalized as a value in the range [0.0, 1.0]. handbrake
Type: float Position of the handbrake, normalized as a value in the range [0.0, 1.0].
Remarks
This structure is used by the IGameInputReading::GetRacingWheelState method. To determine whether a racing wheel has a clutch, handbrake, or pattern shifter, examine the GameInputRacingWheelInfo structure. For more information, see GameInput readings.Requirements
Header: GameInput.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
Overview of GameInputGameInput
