Share via


GameInputFlightStickButtons (v1)

Enumerates flight stick buttons.

Syntax

enum GameInputFlightStickButtons
{
    GameInputFlightStickNone          = 0x00000000,
    GameInputFlightStickMenu          = 0x00000001,
    GameInputFlightStickView          = 0x00000002,
    GameInputFlightStickFirePrimary   = 0x00000004,
    GameInputFlightStickFireSecondary = 0x00000008
};

Constants

Constant Description
GameInputFlightStickNone Indicates that no button is pressed.
GameInputFlightStickMenu Indicates that the menu button is pressed.
GameInputFlightStickView Indicates that the view button is pressed.
GameInputFlightStickFirePrimary Indicates that the primary fire button is pressed.
GameInputFlightStickFireSecondary Indicates that the secondary fire button is pressed.

Remarks

This enumeration is used in the GameInputFlightStickState structure. You can combine values to read multiple buttons simultaneously.

For more information, see the Getting data from readings section of GameInput readings.

Requirements

Header: GameInput.h

Supported platforms: Windows

See also

Overview of GameInput GameInput