botany-manor: add layout

This commit is contained in:
redphx 2024-04-13 07:00:00 +07:00
parent e8ba34fe47
commit 60f39bf5d2
2 changed files with 131 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"name": "Botany Manor",
"default_layout": "custom",
"layouts": [
"botany-manor"
]
}

View File

@ -0,0 +1,124 @@
{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"content": {
"left": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
},
"action": "leftBumper",
"actionThreshold": 2,
"expand": false,
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "walk"
}
}
},
"activated": {
"knob": {
"faceImage": {
"type": "icon",
"value": "run"
}
}
}
}
}
],
"outer": [
{
"type": "button",
"action": "rightBumper"
},
{
"type": "button",
"action": "rightTrigger"
},
null,
null,
null,
null,
{
"type": "button",
"action": "leftTrigger"
},
{
"type": "button",
"action": "leftBumper"
}
]
},
"right": {
"inner": [
{
"type": "button",
"action": "gamepadA"
}
],
"outer": [
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "book"
}
}
}
},
[
{
"type": "button",
"action": "gamepadB"
},
null
],
null,
[
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick"
}
}
],
null,
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "look"
}
}
}
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
}
]
}
}
}
}
}