Skip to main content

GameInputFlightStickState

Describes the state of a flight stick.

Syntax

Members

buttons
Type: GameInputFlightStickButtons
The flight stick buttons that are pressed. hatSwitch
Type: GameInputSwitchPosition
Position of the hat switch. roll
Type: float
Normalized roll value in the range [-1.0, 1.0]. pitch
Type: float
Normalized pitch value in the range [-1.0, 1.0]. yaw
Type: float
Normalized yaw value in the range [-1.0, 1.0]. throttle
Type: float
Normalized throttle value in the range [-1.0, 1.0].

Remarks

This structure is used by the IGameInputReading::GetFlightStickState method. For more information, see the Getting data from readings section of GameInput readings. For a related code example, see A simple gamepad input loop.

Requirements

Header: GameInput.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

Overview of GameInput
GameInput

Version History

Last modified on August 31, 2026