mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +02:00
RE2: update layout
This commit is contained in:
parent
1bf7da1615
commit
23722e4adf
@ -18,6 +18,20 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"AimTouchpad": {
|
||||||
|
"right": {
|
||||||
|
"inner": [
|
||||||
|
{
|
||||||
|
"type": "touchpad",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "rightJoystick",
|
||||||
|
"sensitivity": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"left": {
|
"left": {
|
||||||
@ -31,25 +45,17 @@
|
|||||||
"threshold": 0.01,
|
"threshold": 0.01,
|
||||||
"radial": true
|
"radial": true
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"expand": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outer": [
|
"outer": [
|
||||||
{
|
{
|
||||||
"type": "touchpad",
|
"type": "joystick",
|
||||||
"axis": [
|
"axis": {
|
||||||
{
|
"input": "axisXY",
|
||||||
"input": "axisX",
|
"output": "leftJoystick"
|
||||||
"output": "leftJoystickX",
|
},
|
||||||
"sensitivity": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"input": "axisY",
|
|
||||||
"output": "leftJoystickY",
|
|
||||||
"sensitivity": 5
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"renderAsButton": true,
|
|
||||||
"action": [
|
"action": [
|
||||||
"leftBumper",
|
"leftBumper",
|
||||||
{
|
{
|
||||||
@ -59,41 +65,46 @@
|
|||||||
],
|
],
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"faceImage": {
|
"knob": {
|
||||||
"type": "icon",
|
"faceImage": {
|
||||||
"value": "leftBumper"
|
"type": "icon",
|
||||||
|
"value": "leftBumper"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "touchpad",
|
"type": "joystick",
|
||||||
"axis": [
|
"axis": {
|
||||||
{
|
"input": "axisXY",
|
||||||
"input": "axisX",
|
"output": "leftJoystick"
|
||||||
"output": "leftJoystickX",
|
},
|
||||||
"sensitivity": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"input": "axisY",
|
|
||||||
"output": "leftJoystickY",
|
|
||||||
"sensitivity": 5
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"renderAsButton": true,
|
|
||||||
"action": [
|
"action": [
|
||||||
"leftTrigger",
|
"leftTrigger",
|
||||||
{
|
{
|
||||||
"type": "layer",
|
"type": "layer",
|
||||||
"target": "EnableGyro"
|
"target": "EnableGyro"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "layer",
|
||||||
|
"target": "AimTouchpad"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"faceImage": {
|
"knob": {
|
||||||
"type": "icon",
|
"faceImage": {
|
||||||
"value": "leftTrigger"
|
"type": "icon",
|
||||||
|
"value": "leftTrigger"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -133,12 +144,12 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "button",
|
"type": "button",
|
||||||
"action": "leftThumb",
|
"action": "gamepadY",
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"faceImage": {
|
"faceImage": {
|
||||||
"type": "icon",
|
"type": "icon",
|
||||||
"value": "run"
|
"value": "inventory"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -153,12 +164,25 @@
|
|||||||
"action": "gamepadA"
|
"action": "gamepadA"
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftThumb",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "run"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
null,
|
||||||
{
|
{
|
||||||
"type": "directionalPad",
|
"type": "directionalPad",
|
||||||
"interaction": {
|
"interaction": {
|
||||||
"activationType": "exclusive"
|
"activationType": "exclusive"
|
||||||
},
|
},
|
||||||
"scale": 1
|
"scale": 1.2
|
||||||
},
|
},
|
||||||
null
|
null
|
||||||
],
|
],
|
||||||
@ -168,12 +192,12 @@
|
|||||||
{
|
{
|
||||||
"input": "axisX",
|
"input": "axisX",
|
||||||
"output": "rightJoystickX",
|
"output": "rightJoystickX",
|
||||||
"sensitivity": 5
|
"sensitivity": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "axisY",
|
"input": "axisY",
|
||||||
"output": "rightJoystickY",
|
"output": "rightJoystickY",
|
||||||
"sensitivity": 5
|
"sensitivity": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"renderAsButton": true,
|
"renderAsButton": true,
|
||||||
@ -211,18 +235,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "button",
|
|
||||||
"action": "gamepadY",
|
|
||||||
"styles": {
|
|
||||||
"default": {
|
|
||||||
"faceImage": {
|
|
||||||
"type": "icon",
|
|
||||||
"value": "inventory"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"schema_version": 2,
|
"schema_version": 2,
|
||||||
"name": "BIOHAZARD RE:2 Z Version",
|
"name": "RESIDENT EVIL 2 (JP Z Version)",
|
||||||
"default_layout": "type-a",
|
"default_layout": "type-a",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"type-a": {
|
"type-a": {
|
||||||
@ -18,6 +18,20 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"AimTouchpad": {
|
||||||
|
"right": {
|
||||||
|
"inner": [
|
||||||
|
{
|
||||||
|
"type": "touchpad",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "rightJoystick",
|
||||||
|
"sensitivity": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"left": {
|
"left": {
|
||||||
@ -31,25 +45,17 @@
|
|||||||
"threshold": 0.01,
|
"threshold": 0.01,
|
||||||
"radial": true
|
"radial": true
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"expand": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outer": [
|
"outer": [
|
||||||
{
|
{
|
||||||
"type": "touchpad",
|
"type": "joystick",
|
||||||
"axis": [
|
"axis": {
|
||||||
{
|
"input": "axisXY",
|
||||||
"input": "axisX",
|
"output": "leftJoystick"
|
||||||
"output": "leftJoystickX",
|
},
|
||||||
"sensitivity": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"input": "axisY",
|
|
||||||
"output": "leftJoystickY",
|
|
||||||
"sensitivity": 5
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"renderAsButton": true,
|
|
||||||
"action": [
|
"action": [
|
||||||
"leftBumper",
|
"leftBumper",
|
||||||
{
|
{
|
||||||
@ -59,41 +65,46 @@
|
|||||||
],
|
],
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"faceImage": {
|
"knob": {
|
||||||
"type": "icon",
|
"faceImage": {
|
||||||
"value": "leftBumper"
|
"type": "icon",
|
||||||
|
"value": "leftBumper"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "touchpad",
|
"type": "joystick",
|
||||||
"axis": [
|
"axis": {
|
||||||
{
|
"input": "axisXY",
|
||||||
"input": "axisX",
|
"output": "leftJoystick"
|
||||||
"output": "leftJoystickX",
|
},
|
||||||
"sensitivity": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"input": "axisY",
|
|
||||||
"output": "leftJoystickY",
|
|
||||||
"sensitivity": 5
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"renderAsButton": true,
|
|
||||||
"action": [
|
"action": [
|
||||||
"leftTrigger",
|
"leftTrigger",
|
||||||
{
|
{
|
||||||
"type": "layer",
|
"type": "layer",
|
||||||
"target": "EnableGyro"
|
"target": "EnableGyro"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "layer",
|
||||||
|
"target": "AimTouchpad"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"faceImage": {
|
"knob": {
|
||||||
"type": "icon",
|
"faceImage": {
|
||||||
"value": "leftTrigger"
|
"type": "icon",
|
||||||
|
"value": "leftTrigger"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -133,12 +144,12 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "button",
|
"type": "button",
|
||||||
"action": "leftThumb",
|
"action": "gamepadY",
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"faceImage": {
|
"faceImage": {
|
||||||
"type": "icon",
|
"type": "icon",
|
||||||
"value": "run"
|
"value": "inventory"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -153,12 +164,25 @@
|
|||||||
"action": "gamepadA"
|
"action": "gamepadA"
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftThumb",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "run"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
null,
|
||||||
{
|
{
|
||||||
"type": "directionalPad",
|
"type": "directionalPad",
|
||||||
"interaction": {
|
"interaction": {
|
||||||
"activationType": "exclusive"
|
"activationType": "exclusive"
|
||||||
},
|
},
|
||||||
"scale": 1
|
"scale": 1.2
|
||||||
},
|
},
|
||||||
null
|
null
|
||||||
],
|
],
|
||||||
@ -168,12 +192,12 @@
|
|||||||
{
|
{
|
||||||
"input": "axisX",
|
"input": "axisX",
|
||||||
"output": "rightJoystickX",
|
"output": "rightJoystickX",
|
||||||
"sensitivity": 5
|
"sensitivity": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "axisY",
|
"input": "axisY",
|
||||||
"output": "rightJoystickY",
|
"output": "rightJoystickY",
|
||||||
"sensitivity": 5
|
"sensitivity": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"renderAsButton": true,
|
"renderAsButton": true,
|
||||||
@ -211,18 +235,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "button",
|
|
||||||
"action": "gamepadY",
|
|
||||||
"styles": {
|
|
||||||
"default": {
|
|
||||||
"faceImage": {
|
|
||||||
"type": "icon",
|
|
||||||
"value": "inventory"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user