หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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