Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumerates flight stick buttons.
Syntax
typedef enum GameInputFlightStickButtons
{
GameInputFlightStickNone = 0x00000000,
GameInputFlightStickMenu = 0x00000001,
GameInputFlightStickView = 0x00000002,
GameInputFlightStickFirePrimary = 0x00000004,
GameInputFlightStickFireSecondary = 0x00000008
} GameInputFlightStickButtons
Constants
| Constant | Description |
|---|---|
| GameInputFlightStickNone | No button pressed. |
| GameInputFlightStickMenu | Menu button pressed. |
| GameInputFlightStickView | View button pressed. |
| GameInputFlightStickFirePrimary | Primary fire button pressed. |
| GameInputFlightStickFireSecondary | Secondary fire button 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, Xbox One family consoles and Xbox Series consoles