brotato: update layouts

This commit is contained in:
redphx 2024-02-11 12:05:46 +07:00
parent c6c1e3181f
commit 66b8b5a286

View File

@ -16,41 +16,38 @@
} }
], ],
"outer": [ "outer": [
[ null,
{ {
"type": "button", "type": "button",
"action": "gamepadA", "action": "gamepadA",
"styles": { "styles": {
"idle": { "idle": {
"opacity": 0.7 "opacity": 0.7
}
} }
} }
], },
null, null,
null, null,
[ null,
{ null,
"type": "button", {
"action": "leftBumper", "type": "button",
"styles": { "action": "gamepadB",
"idle": { "styles": {
"opacity": 0.7 "idle": {
} "opacity": 0.7
} }
} }
], },
[ {
{ "type": "button",
"type": "button", "action": "leftBumper",
"action": "gamepadB", "styles": {
"styles": { "idle": {
"idle": { "opacity": 0.7
"opacity": 0.7
}
} }
} }
] }
] ]
}, },
"upper": { "upper": {
@ -78,41 +75,37 @@
} }
], ],
"outer": [ "outer": [
[ {
{ "type": "button",
"type": "button", "action": "leftBumper",
"action": "gamepadB", "styles": {
"styles": { "idle": {
"idle": { "opacity": 0.7
"opacity": 0.7
}
} }
} }
], },
[ {
{ "type": "button",
"type": "button", "action": "gamepadB",
"action": "leftBumper", "styles": {
"styles": { "idle": {
"idle": { "opacity": 0.7
"opacity": 0.7
}
} }
} }
], },
null, null,
null, null,
[ null,
{ null,
"type": "button", {
"action": "gamepadA", "type": "button",
"styles": { "action": "gamepadA",
"idle": { "styles": {
"opacity": 0.7 "idle": {
} "opacity": 0.7
} }
} }
] }
] ]
}, },
"upper": { "upper": {
@ -126,46 +119,49 @@
} }
}, },
"simplified": { "simplified": {
"left": { "name": "Simplified",
"inner": [ "content": {
{ "left": {
"type": "joystick", "inner": [
"relative": false, {
"axis": { "type": "joystick",
"input": "axisXY", "relative": false,
"output": "leftJoystick" "axis": {
"input": "axisXY",
"output": "leftJoystick"
}
} }
} ]
] },
}, "right": {
"right": { "inner": [
"inner": [ {
{ "type": "button",
"type": "button", "action": "gamepadA"
"action": "gamepadA" }
} ],
], "outer": [
"outer": [ {
{ "type": "blank"
"type": "blank" },
}, {
{ "type": "button",
"type": "button", "action": "gamepadB"
"action": "gamepadB" }
} ]
] },
}, "upper": {
"upper": { "right": [
"right": [ {
{ "type": "button",
"type": "button", "action": "menu"
"action": "menu" },
}, {
{ "type": "button",
"type": "button", "action": "rightBumper"
"action": "rightBumper" }
} ]
] }
} }
}, },
"simplified-full": { "simplified-full": {