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