Cocoon: add layout

This commit is contained in:
redphx 2024-02-07 06:24:32 +07:00
parent 9631d47904
commit 35abb199e3

View File

@ -0,0 +1,44 @@
{
"schema_version": 2,
"name": "Cocoon",
"default_layout": "custom",
"layouts": {
"custom": {
"name": "Custom",
"content": {
"left": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
},
"relative": false
}
]
},
"right": {
"inner": [
{
"type": "button",
"action": "gamepadA"
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "gamepadB"
}
]
}
}
}
}
}