mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-04 22:57:19 +02:00
229 lines
5.7 KiB
JSON
229 lines
5.7 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"layouts": {
|
|
"custom": {
|
|
"name": "Alternate",
|
|
"author": "Kode-Z",
|
|
"content": {
|
|
"left": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"expand": false,
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
null,
|
|
null,
|
|
null,
|
|
null,
|
|
[
|
|
{
|
|
"type": "button",
|
|
"action": "rightJoystickDown",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "lookBehind"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "joystick",
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick",
|
|
"deadzone": {
|
|
"threshold": 0.05,
|
|
"radial": true
|
|
}
|
|
},
|
|
"action": "leftTrigger",
|
|
"styles": {
|
|
"default": {
|
|
"outline": {
|
|
"indicator": {
|
|
"type": "color",
|
|
"value": "#ffffff"
|
|
},
|
|
"stroke": {
|
|
"type": "solid",
|
|
"color": "#ffffff"
|
|
},
|
|
"opacity": 0.1
|
|
},
|
|
"knob": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "aim"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"right": {
|
|
"inner": [
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadA",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "interact"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
null,
|
|
null,
|
|
[
|
|
{
|
|
"type": "button",
|
|
"action": "leftBumper",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "leftBumper"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
null,
|
|
{
|
|
"type": "button",
|
|
"action": "rightTrigger",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "fire"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadB",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "reload"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"upper": {
|
|
"right": [
|
|
{
|
|
"type": "button",
|
|
"action": {
|
|
"type": "layer",
|
|
"target": "selectAbility"
|
|
},
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "add"
|
|
}
|
|
}
|
|
},
|
|
"toggle": true
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "menu"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "rightBumper",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "map"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadY",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "inventory"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"layers": {
|
|
"selectAbility": {
|
|
"left": {
|
|
"inner": [
|
|
{
|
|
"type": "directionalPad",
|
|
"scale": 2.2
|
|
}
|
|
]
|
|
},
|
|
"right": {
|
|
"outer": [
|
|
null,
|
|
null,
|
|
[
|
|
{
|
|
"type": "button",
|
|
"action": "leftBumper",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "leftBumper"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadX",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "sprint"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |