mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-11 18:17:19 +02:00
281 lines
5.9 KiB
JSON
281 lines
5.9 KiB
JSON
{
|
|
"schema_version": 2,
|
|
"name": "Brotato",
|
|
"default_layout": "one-handed-left",
|
|
"layouts": {
|
|
"one-handed-left": {
|
|
"name": "One-handed (Left)",
|
|
"content": {
|
|
"left": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"relative": false,
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
null,
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadA",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"type": "directionalPad",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
null,
|
|
null,
|
|
{
|
|
"type": "button",
|
|
"action": "leftBumper",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadB",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"upper": {
|
|
"right": [
|
|
{
|
|
"type": "button",
|
|
"action": "menu"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"one-handed-right": {
|
|
"name": "One-handed (Right)",
|
|
"content": {
|
|
"right": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"relative": false,
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadB",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "rightBumper",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
},
|
|
null,
|
|
null,
|
|
[
|
|
{
|
|
"type": "directionalPad",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadA",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"upper": {
|
|
"right": [
|
|
{
|
|
"type": "button",
|
|
"action": "menu"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"simplified": {
|
|
"name": "Simplified",
|
|
"content": {
|
|
"left": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"relative": false,
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
null,
|
|
null,
|
|
[
|
|
{
|
|
"type": "directionalPad",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"right": {
|
|
"inner": [
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadA"
|
|
}
|
|
],
|
|
"outer": [
|
|
{
|
|
"type": "blank"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadB"
|
|
}
|
|
]
|
|
},
|
|
"upper": {
|
|
"right": [
|
|
{
|
|
"type": "button",
|
|
"action": "menu"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "rightBumper"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"simplified-full": {
|
|
"name": "Simplified (2 joysticks)",
|
|
"content": {
|
|
"left": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"relative": false,
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
null,
|
|
null,
|
|
[
|
|
{
|
|
"type": "directionalPad",
|
|
"styles": {
|
|
"idle": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"right": {
|
|
"inner": [
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadA"
|
|
}
|
|
],
|
|
"outer": [
|
|
{
|
|
"type": "blank"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadB"
|
|
},
|
|
null,
|
|
{
|
|
"type": "blank"
|
|
},
|
|
[
|
|
{
|
|
"type": "joystick",
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "rightJoystick"
|
|
},
|
|
"styles": {
|
|
"idle": {
|
|
"knob": {
|
|
"opacity": 0.5
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"upper": {
|
|
"right": [
|
|
{
|
|
"type": "button",
|
|
"action": "menu"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "rightBumper"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|