the-rewinder: add layout

This commit is contained in:
redphx 2024-04-30 20:35:14 +07:00
parent bb3575ab02
commit a0063a30f8
2 changed files with 131 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"name": "The Rewinder",
"default_layout": "custom",
"layouts": [
"the-rewinder"
]
}

View File

@ -0,0 +1,124 @@
{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"content": {
"left": {
"inner": [
{
"type": "directionalPad",
"scale": 1.5,
"interaction": {
"activationType": "exclusive"
}
}
],
"outer": [
{
"type": "button",
"action": "rightBumper"
},
{
"type": "button",
"action": "rightTrigger"
},
[
{
"type": "joystick",
"expand": false,
"axis": {
"input": "axisXY",
"output": "leftJoystick"
}
}
],
null,
null,
{
"type": "button",
"action": "leftTrigger"
},
{
"type": "button",
"action": "leftBumper"
}
]
},
"right": {
"inner": [
{
"type": "button",
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
}
],
"outer": [
null,
{
"type": "button",
"action": "gamepadB"
},
null,
{
"type": "button",
"action": "rightThumb"
},
[
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick"
}
}
],
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "enterDoor"
}
}
}
},
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "ability"
}
}
}
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "view"
}
]
}
}
}
}
}