Brotato: first layout

This commit is contained in:
redphx 2024-01-30 08:41:36 +07:00
parent fb4bada847
commit 98f34b4829

View File

@ -0,0 +1,94 @@
{
"name": "Brotato",
"layout": {
"left": {
"inner": [
{
"type": "joystick",
"expand": false,
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0.01,
"radial": true
}
}
}
],
"outer": [
null,
null,
[
{
"type": "directionalPad",
"styles": {
"idle": {
"opacity": 0.5
}
}
}
]
]
},
"right": {
"inner": [
{
"type": "blank"
},
{
"type": "button",
"action": "gamepadB"
},
{
"type": "button",
"action": "gamepadA"
},
{
"type": "blank"
}
],
"outer": [
{
"type": "blank"
},
{
"type": "button",
"action": "rightTrigger"
},
null,
{
"type": "blank"
},
[
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"deadzone": {
"threshold": 0.01,
"radial": true
}
},
"styles": {
"idle": {
"knob": {
"opacity": 0.5
}
}
}
}
]
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
}
]
}
}
}