GameInputTouchSensorInfo
描述輸入裝置上觸控感應器的實體屬性和功能。語法
成員
location類型:GameInputLocation 觸控感應器在裝置上的實體位置。 locationId
類型:uint32_t 用來區分位於相同位置之各觸控感應器的識別碼。 usage
類型:GameInputUsage 識別此觸控感應器的 HID 用法。 shape
類型:GameInputTouchShape 觸控感應器表面的形狀。 aspectRatio
類型:float 觸控表面的寬高比。 orientation
類型:float 觸控表面的方向,單位為度。 physicalWidth
類型:float 觸控表面的實體寬度,單位為公尺。 physicalHeight
類型:float 觸控表面的實體高度,單位為公尺。 maxPressure
類型:float 感應器可回報的最大壓力值。 maxProximity
類型:float 感應器可偵測的最大接近距離。 maxTouchPoints
類型:uint32_t 同時觸控接觸點的最大數目。
