GameInputRacingWheelInfo
描述賽車方向盤的屬性。語法
成員
menuButtonLabel類型:GameInputLabel 功能表按鈕的實體標籤。 viewButtonLabel
類型:GameInputLabel 檢視按鈕的實體標籤。 previousGearButtonLabel
類型:GameInputLabel 上一檔選擇器 (按鈕) 的實體標籤。 nextGearButtonLabel
類型:GameInputLabel 下一檔選擇器 (按鈕) 的實體標籤。 dpadUpLabel
類型:GameInputLabel 方向鍵上的實體標籤。 dpadDownLabel
類型:GameInputLabel 方向鍵下的實體標籤。 dpadLeftLabel
類型:GameInputLabel 方向鍵左的實體標籤。 dpadRightLabel
類型:GameInputLabel 方向鍵右的實體標籤。 aButtonLabel
類型:GameInputLabel A 按鈕的實體標籤。 bButtonLabel
類型:GameInputLabel B 按鈕的實體標籤。 xButtonLabel
類型:GameInputLabel X 按鈕的實體標籤。 yButtonLabel
類型:GameInputLabel Y 按鈕的實體標籤。 leftShoulderButtonLabel
類型:GameInputLabel 左肩按鈕的實體標籤。 rightShoulderButtonLabel
類型:GameInputLabel 右肩按鈕的實體標籤。 leftThumbstickButtonLabel
類型:GameInputLabel 左搖桿按鈕的實體標籤。 hasClutch
類型:bool 表示賽車方向盤是否有離合器輸入。 hasHandbrake
類型:bool 表示賽車方向盤是否有手煞車輸入。 hasPatternShifter
類型:bool 表示賽車方向盤是否有 H 型排檔器。 minPatternShifterGear
類型:int32_t H 型排檔器的最低檔位。 maxPatternShifterGear
類型:int32_t H 型排檔器的最高檔位。 maxWheelAngle
類型:float 賽車方向盤的最大角度。 extraButtonCount
類型:uint32_t 未對應到賽車方向盤按鈕的裝置按鈕數目。 extraAxisCount
類型:uint32_t 未對應到賽車方向盤軸的裝置軸數目。
備註
此結構用於 GameInputDeviceInfo 結構中。GameInputDeviceInfo 由 IGameInputDevice::GetDeviceInfo 方法使用。
如需詳細資訊,請參閱 GameInput 裝置。
需求
標頭: GameInput.h 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機另請參閱
GameInput 概觀GameInput
