Skip to main content

GameInputFlightStickButtons

Enumerates flight stick buttons.

Syntax

Constants

Remarks

This enumeration is used in the GameInputFlightStickState structure. You can combine values to read multiple buttons simultaneously. GameInputFlightStickHatSwitchUp, GameInputFlightStickHatSwitchDown, GameInputFlightStickHatSwitchLeft, and GameInputFlightStickHatSwitchRight are hat switch translations to button values. Diagonals are represented by presenting two buttons pressed simultaneously as is the case for the D-pad on a gamepad. Hat switch center is represented by having none of these buttons pressed. These buttons are also the only way to query mapping information for the hat switch using the IGameInputMapper::GetFlightStickButtonMappingInfo method. GameInputFlightStickA, GameInputFlightStickB, GameInputFlightStickX, and GameInputFlightStickY are not part of the flight stick mappings. These are instead values copied from the gamepad button report. If there is no gamepad mapped to the device, these values will always be 0. For more information, see the Getting data from readings section of GameInput readings. This enumeration can additionally be used with the IGameInputMapper::GetFlightStickButtonMappingInfo method to retrieve mapping information for a specific flight stick button.

Requirements

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

See also

Overview of GameInput
GameInput

Version History

Appendix: Previous versions

v0

Last modified on August 20, 2026