brotato: simplify layouts

This commit is contained in:
redphx 2024-02-11 11:30:15 +07:00
parent 0155cb75cd
commit c6c1e3181f

View File

@ -16,51 +16,42 @@
}
],
"outer": [
null,
[
{
"type": "button",
"action": "gamepadA",
"styles": {
"idle": {
"opacity": 0.5
}
}
},
[
{
"type": "directionalPad",
"scale": 1.2,
"interaction": {
"activationType": "exclusive"
},
"styles": {
"idle": {
"opacity": 0.5
"opacity": 0.7
}
}
}
],
null,
null,
[
{
"type": "button",
"action": "leftBumper",
"styles": {
"idle": {
"opacity": 0.5
"opacity": 0.7
}
}
},
}
],
[
{
"type": "button",
"action": "gamepadB",
"styles": {
"idle": {
"opacity": 0.5
"opacity": 0.7
}
}
}
]
]
},
"upper": {
"right": [
@ -87,50 +78,42 @@
}
],
"outer": [
[
{
"type": "button",
"action": "gamepadB",
"styles": {
"idle": {
"opacity": 0.5
}
}
},
{
"type": "button",
"action": "rightBumper",
"styles": {
"idle": {
"opacity": 0.5
}
}
},
null,
null,
[
{
"type": "directionalPad",
"scale": 1.2,
"interaction": {
"activationType": "exclusive"
},
"styles": {
"idle": {
"opacity": 0.5
"opacity": 0.7
}
}
}
],
[
{
"type": "button",
"action": "leftBumper",
"styles": {
"idle": {
"opacity": 0.7
}
}
}
],
null,
null,
[
{
"type": "button",
"action": "gamepadA",
"styles": {
"idle": {
"opacity": 0.5
"opacity": 0.7
}
}
}
]
]
},
"upper": {
"right": [
@ -143,8 +126,6 @@
}
},
"simplified": {
"name": "Simplified",
"content": {
"left": {
"inner": [
{
@ -155,24 +136,6 @@
"output": "leftJoystick"
}
}
],
"outer": [
null,
null,
[
{
"type": "directionalPad",
"scale": 1.2,
"interaction": {
"activationType": "exclusive"
},
"styles": {
"idle": {
"opacity": 0.5
}
}
}
]
]
},
"right": {
@ -204,7 +167,6 @@
}
]
}
}
},
"simplified-full": {
"name": "Simplified (2 joysticks)",
@ -219,24 +181,6 @@
"output": "leftJoystick"
}
}
],
"outer": [
null,
null,
[
{
"type": "directionalPad",
"scale": 1.2,
"interaction": {
"activationType": "exclusive"
},
"styles": {
"idle": {
"opacity": 0.5
}
}
}
]
]
},
"right": {
@ -268,7 +212,7 @@
"styles": {
"idle": {
"knob": {
"opacity": 0.5
"opacity": 0.7
}
}
}