> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GameInputTouchSensorInfo (非推奨)

> GameInputTouchSensorInfo

# GameInputTouchSensorInfo

> [!WARNING]
>
> **非推奨。** この構造体は GameInput v1 で削除され、現在の API では利用できません。

入力デバイス上のタッチ センサーの物理的なプロパティおよび機能を記述します。

## 構文

```cpp theme={null}
typedef struct GameInputTouchSensorInfo {
    GameInputLocation location;
    uint32_t locationId;
    GameInputUsage usage;
    GameInputTouchShape shape;
    float aspectRatio;
    float orientation;
    float physicalWidth;
    float physicalHeight;
    float maxPressure;
    float maxProximity;
    uint32_t maxTouchPoints;
} GameInputTouchSensorInfo;
```

## メンバー

**location**\
型: [GameInputLocation](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/enums/gameinputlocation.md)

デバイス上のタッチ センサーの物理的な位置です。

**locationId**\
型: uint32\_t

同じ位置にあるタッチ センサーを区別する識別子です。

**usage**\
型: GameInputUsage

このタッチ センサーを識別する HID 使用状況です。

**shape**\
型: [GameInputTouchShape](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/enums/gameinputtouchshape.md)

タッチ センサー表面の形状です。

**aspectRatio**\
型: float

タッチ表面の幅対高さのアスペクト比です。

**orientation**\
型: float

タッチ表面の方向 (度単位) です。

**physicalWidth**\
型: float

タッチ表面の物理的な幅 (メートル単位) です。

**physicalHeight**\
型: float

タッチ表面の物理的な高さ (メートル単位) です。

**maxPressure**\
型: float

センサーが報告できる最大圧力値です。

**maxProximity**\
型: float

センサーが検出できる最大近接距離です。

**maxTouchPoints**\
型: uint32\_t

同時タッチ コンタクトの最大数です。

## バージョン履歴

| バージョン | 変更内容 |
| - | - |
| **v1** | 削除されました。 |
| **v0** | 導入されました。 |

## 関連項目

[非推奨の GameInput API メンバー](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[GameInputTouchState](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/structs/gameinputtouchstate.md)
[GameInputTouchShape](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/enums/gameinputtouchshape.md)


## Related topics

- [GameInputTouchShape (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/enums/gameinputtouchshape.md)
- [GameInputTouchState (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/structs/gameinputtouchstate.md)
- [GameInputMotionInfo (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/structs/gameinputmotioninfo.md)
- [IGameInputReading::GetTouchCount (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchcount.md)
- [IGameInputReading::GetTouchState (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)
