Update layout files

This commit is contained in:
redphx
2024-02-09 18:08:40 +07:00
parent 415b880e31
commit 43a42e3b71
19 changed files with 1615 additions and 2227 deletions

View File

@@ -1,252 +1,7 @@
{
"schema_version": 2,
"name": "RESIDENT EVIL 2 (JP Z Version)",
"default_layout": "type-a",
"layouts": {
"type-a": {
"name": "Type A",
"content": {
"layers": {
"EnableGyro": {
"sensors": [
{
"type": "gyroscope",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"sensitivity": 1
}
}
]
},
"AimTouchpad": {
"right": {
"inner": [
{
"type": "touchpad",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"sensitivity": 2
},
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "aim"
}
}
}
}
]
}
}
},
"left": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0.01,
"radial": true
}
},
"expand": false
}
],
"outer": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
},
"action": [
"leftBumper",
{
"type": "layer",
"target": "EnableGyro"
}
],
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "leftBumper"
},
"stroke": {
"opacity": 0.1
}
}
}
}
},
[
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
},
"action": [
"leftTrigger",
{
"type": "layer",
"target": "EnableGyro"
},
{
"type": "layer",
"target": "AimTouchpad"
}
],
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "leftTrigger"
},
"stroke": {
"opacity": 0.1
}
}
}
}
},
null
],
null,
{
"type": "button",
"action": "rightThumb"
},
null,
[
{
"type": "button",
"action": "rightBumper"
}
],
null
]
},
"right": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"deadzone": {
"threshold": 0.01,
"radial": true
}
}
}
],
"outer": [
[
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "inventory"
}
}
}
}
],
{
"type": "button",
"action": "gamepadB"
},
{
"type": "button",
"action": "gamepadA"
},
[
{
"type": "button",
"action": "leftThumb",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "run"
}
}
}
},
null,
{
"type": "directionalPad",
"interaction": {
"activationType": "exclusive"
},
"scale": 1.2
},
null
],
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 1
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 1
}
],
"renderAsButton": true,
"action": "rightTrigger"
},
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "reload"
}
}
}
},
null
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "view",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "map"
}
}
}
}
]
}
}
}
}
"layouts": [
"resident-evil-2"
]
}