plants-vs-zombies: add layout

This commit is contained in:
redphx 2024-05-10 21:30:50 +07:00
parent 62b3da56ec
commit 71a273fc5c
3 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,8 @@
{
"name": "Plants vs. Zombies",
"product_id": "BR1D9CR82ZM8",
"default_layout": "custom",
"layouts": [
"plants-vs-zombies"
]
}

View File

@ -31,6 +31,7 @@
"9PLZPHBNHTMF", "9PLZPHBNHTMF",
"9PNJXVCVWD4K", "9PNJXVCVWD4K",
"BPCN22ZVT05C", "BPCN22ZVT05C",
"BR1D9CR82ZM8",
"BTQMHK78ZPF9", "BTQMHK78ZPF9",
"BWMH951M3G3P", "BWMH951M3G3P",
"BX3M8L83BBRW", "BX3M8L83BBRW",

View File

@ -0,0 +1,60 @@
{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"author": "redphx",
"content": {
"left": {
"inner": [
{
"type": "directionalPad",
"scale": 1.5,
"interaction": {
"activationType": "exclusive"
}
}
]
},
"right": {
"inner": [
{
"type": "button",
"action": "gamepadA"
}
],
"outer": [
{
"type": "button",
"action": "rightBumper"
},
null,
{
"type": "button",
"action": "gamepadB"
},
null,
null,
{
"type": "button",
"action": "gamepadX"
},
null,
{
"type": "button",
"action": "leftBumper"
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
}
]
}
}
}
}
}