Files
better-xcloud/touch-layouts/layouts/gta-4.json
Kode-Z 30120a775f New custom touch controls (#765)
* Update doom-3.json

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
2025-08-11 21:51:52 +07:00

230 lines
5.7 KiB
JSON

{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"author": "Kode-Z",
"content": {
"left": {
"inner": [
{
"type": "joystick",
"expand": false,
"axis": {
"input": "axisXY",
"output": "leftJoystick"
}
}
],
"outer": [
null,
null,
[
{
"type": "directionalPad"
}
],
null,
null,
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0,
"radial": true
}
},
"action": "leftTrigger",
"styles": {
"default": {
"outline": {
"indicator": {
"type": "color",
"value": "#ffffff"
},
"stroke": {
"type": "solid",
"color": "#ffffff"
},
"opacity": 0.5
},
"knob": {
"faceImage": {
"type": "icon",
"value": "leftTrigger"
}
}
}
}
},
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"deadzone": {
"threshold": 0,
"radial": true
}
},
"action": "leftBumper",
"styles": {
"default": {
"outline": {
"indicator": {
"type": "color",
"value": "#ffffff"
},
"stroke": {
"type": "solid",
"color": "#ffffff"
},
"opacity": 0.5
},
"knob": {
"faceImage": {
"type": "icon",
"value": "leftBumper"
}
}
}
}
}
]
},
"right": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick"
}
}
],
"outer": [
[
{
"type": "button",
"action": "rightBumper"
},
{
"type": "button",
"action": "rightThumb",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "lookBehind2"
}
}
}
},
{
"type": "touchpad",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"deadzone": {
"threshold": 0.50
}
},
"renderAsButton": true,
"action": [
"rightTrigger"
],
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "rightTrigger"
}
}
}
}
],
[
null,
{
"type": "button",
"action": "leftThumb"
},
null
],
{
"type": "button",
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "sprint"
}
}
}
},
{
"type": "button",
"action": "gamepadB",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "lightPunch"
}
}
}
},
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "jump"
}
}
}
},
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "enterCar"
}
}
}
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
null,
{
"type": "button",
"action": "view",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "switchCamera"
}
}
}
}
]
}
}
}
}
}