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

# Inner Wheel

> Inner Wheel

# Inner Wheel

最多包含四个控件的数组，用于分割轮盘的内部部分。

## 备注

> [!TIP]
>
> 如果该区域的主要任务是玩家移动，请勿在轮盘的 `inner` 部分使用多个控件。将整个 `inner` 部分用于你偏好的移动控件（例如[操纵杆](https://devdocs.xbox.com/zh-CN/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick)或[方向键](https://devdocs.xbox.com/zh-CN/reference/system/touchadaptationkit/controls/game-streaming-touch-directionalpad)）。

使用 `control cluster` 将多个触控控件放入单个定义的区域。

在 `inner` 区域中，尤其是当 `wheel` 的 `expand` 设置为 true 时，控件的点击区域可能大于其视觉显示。

**`inner wheel` 区域中控件簇的模式**

> 图像显示了 `right` 内轮上簇内控件的点击区域，而不是实际的控件渲染。控件将渲染在点击区域的中心位置。

#### 模式 1. 一个控件

![带一个控件的内轮](https://mintcdn.com/microsoft-4404708b/gzrdvT5kpqAXKEQt/images/gdk/reference/game-streaming-touch-control-images-wheel-inner-1.png?fit=max\&auto=format\&n=gzrdvT5kpqAXKEQt\&q=85\&s=0bb29b35412479315f6af55406554997)

```JSON theme={null}
{
   "inner" : {
       "type": "button",
       "action": "gamepadA"
   }
}
```

#### 模式 2. 两个控件

![带两个控件的内轮](https://mintcdn.com/microsoft-4404708b/gzrdvT5kpqAXKEQt/images/gdk/reference/game-streaming-touch-control-images-wheel-inner-2.png?fit=max\&auto=format\&n=gzrdvT5kpqAXKEQt\&q=85\&s=f4ccf7205a99fbded889d358d866b46e)

*注意：* 此方向适用于 `right` 轮的控件。会为 `left` 重新调整方向。

```JSON theme={null}
"right" : {
   "inner": [
        {
            "type": "button",
            "action": "gamepadA"
        },
        {
            "type": "button",
            "action": "gamepadB"
        }
    ]
    }
}

```

#### 模式 3：三个控件

![带三个控件的内轮](https://mintcdn.com/microsoft-4404708b/gzrdvT5kpqAXKEQt/images/gdk/reference/game-streaming-touch-control-images-wheel-inner-3.png?fit=max\&auto=format\&n=gzrdvT5kpqAXKEQt\&q=85\&s=5822857ffa54e82fc5ccabc402a40845)

```JSON theme={null}
{
   "inner": [
        {
            "type": "button",
            "action": "gamepadA"
        },
        {
            "type": "button",
            "action": "gamepadB"
        },
        {
            "type": "button",
            "action": "gamepadX"
        }
    ]
}
```

#### 模式 4. 四个控件

![带四个控件的内轮](https://mintcdn.com/microsoft-4404708b/gzrdvT5kpqAXKEQt/images/gdk/reference/game-streaming-touch-control-images-wheel-inner-4.png?fit=max\&auto=format\&n=gzrdvT5kpqAXKEQt\&q=85\&s=d3e95f2d0cfebae69ea5213dbeed36e2)

```JSON theme={null}
{
   "inner": [
        {
            "type": "button",
            "action": "gamepadA"
        },
        {
            "type": "button",
            "action": "gamepadB"
        },
        {
            "type": "button",
            "action": "gamepadX"
        },
        {
            "type": "button",
            "action": "gamepadY"
        }
    ]
}
```

## 另请参阅

[Touch Adaptation Kit 参考](https://devdocs.xbox.com/zh-CN/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)\
[Wheel](https://devdocs.xbox.com/zh-CN/reference/system/touchadaptationkit/layout/game-streaming-touch-wheel)


## Related topics

- [Touch Adaptation Kit (TAK) Reference](https://devdocs.xbox.com/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
- [Touch Adaptation Kit](https://devdocs.xbox.com/reference/system/touchadaptationkit/touchadaptationkit-reference.md)
- [A designer's guide to building touch controls](https://devdocs.xbox.com/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-tak-designers-guide.md)
- [Touch Adaptation Kit (TAK) 参考](https://devdocs.xbox.com/zh-CN/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
- [Touch Adaptation Kit (TAK) リファレンス](https://devdocs.xbox.com/ja-jp/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
