mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Brotato: add multiple layouts
This commit is contained in:
parent
7e1b737d69
commit
3deaa97cf7
279
touch-layouts/dev/2008767227.json
Normal file
279
touch-layouts/dev/2008767227.json
Normal file
@ -0,0 +1,279 @@
|
||||
{
|
||||
"schema_version": 2,
|
||||
"name": "Brotato",
|
||||
"default_layout": "one-hand-left",
|
||||
"layouts": {
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"default-aim": {
|
||||
"name": "Default with Aim",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"one-hand-left": {
|
||||
"name": "One hand (Left)",
|
||||
"content": {
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"relative": false,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
null,
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "directionalPad",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"opacity": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
null,
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"opacity": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadB",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"opacity": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"opacity": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"upper": {
|
||||
"right": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"one-hand-right": {
|
||||
"name": "One hand (Right)",
|
||||
"content": {
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"relative": false,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"opacity": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadB",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"opacity": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"opacity": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "directionalPad",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"opacity": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"upper": {
|
||||
"right": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user