Skip to main content

GameInputControllerAxisInfo

已淘汰。 此結構已在 GameInput v3 中移除,目前的 API 中無法使用。此資訊現在改由 GameInputControllerInfo 提供。
描述一般控制器裝置上的個別軸。

語法

成員

label
類型:GameInputLabel
識別此軸功能的標籤。 location
類型:GameInputLocation
此軸在裝置上的實體位置。 locationId
類型:uint32_t
用來區分位於相同位置之各軸的識別碼。 lowerLimit
類型:int64_t
此軸的最小實體值。 upperLimit
類型:int64_t
此軸的最大實體值。 deadZone
類型:uint64_t
中心位置周圍無作用區的大小。 resolutionX
類型:uint64_t
此軸的水平解析度。 resolutionY
類型:uint64_t
此軸的垂直解析度。 isAbsolute
類型:bool
此軸回報的是絕對值 (true) 還是相對值 (false)。 isLinear
類型:bool
此軸是否具有線性回應。 hasDeadZone
類型:bool
此軸是否具有機械式無作用區。 noReturn
類型:bool
此軸在放開時是否不會回到中心。

版本歷程記錄

另請參閱

已淘汰的 GameInput API 成員 GameInputControllerInfo
Last modified on October 6, 2026