Skip to main content

GameInputFlightStickInfo

描述飛行搖桿的屬性。

語法

成員

menuButtonLabel
類型:GameInputLabel
功能表按鈕的實體標籤。 viewButtonLabel
類型:GameInputLabel
檢視按鈕的實體標籤。 firePrimaryButtonLabel
類型:GameInputLabel
主要射擊按鈕的實體標籤。 fireSecondaryButtonLabel
類型:GameInputLabel
次要射擊按鈕的實體標籤。 hatSwitchUpLabel
類型:GameInputLabel
苦力帽開關向上輸入的實體標籤。 hatSwitchDownLabel
類型:GameInputLabel
苦力帽開關向下輸入的實體標籤。 hatSwitchLeftLabel
類型:GameInputLabel
苦力帽開關向左輸入的實體標籤。 hatSwitchRightLabel
類型:GameInputLabel
苦力帽開關向右輸入的實體標籤。 aButtonLabel
類型:GameInputLabel
A 按鈕的實體標籤。 bButtonLabel
類型:GameInputLabel
B 按鈕的實體標籤。 xButtonLabel
類型:GameInputLabel
X 按鈕的實體標籤。 yButtonLabel
類型:GameInputLabel
Y 按鈕的實體標籤。

備註

此結構用於 GameInputDeviceInfo 結構中。GameInputDeviceInfo 由 IGameInputDevice::GetDeviceInfo 方法使用。 如需詳細資訊,請參閱 GameInput 裝置。

需求

標頭: GameInput.h 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機

另請參閱

GameInput 概觀
GameInput

版本歷程記錄

附錄:先前版本

v0、v1、v2

Last modified on October 6, 2026