Added custom touch controls for Resident Evil 7 & Village (Remote Play) (#747)

* Add files via upload

* Add files via upload

* Update 1278031123.json

* Update south-of-midnight.json

Added segmented pull buttons to enhance combat/traversal gameplay!

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update south-of-midnight.json

* Update south-of-midnight.json

* south-of-midnight: minor adjustments

- Change segmented button's opacity from 0.3 to 0.5
- Add "exclusive" type for d-pad

* Add files via upload

* Add files via upload

---------

Co-authored-by: redphx <96280+redphx@users.noreply.github.com>
This commit is contained in:
Kode-Z
2025-07-13 10:01:18 +01:00
committed by GitHub
parent d4ee137495
commit 93ef770417
4 changed files with 482 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
{
"name": "Resident Evil Village",
"default_layout": "custom",
"layouts": [
"resident-evil-village"
]
}

View File

@@ -0,0 +1,7 @@
{
"name": "Resident Evil 7",
"default_layout": "custom",
"layouts": [
"resident-evil-7"
]
}

View File

@@ -0,0 +1,234 @@
{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"author": "Kode-Z",
"content": {
"left": {
"outer": [
null,
null,
[
{
"type": "directionalPad",
"interaction": {
"activationType": "exclusive"
},
"scale": 1
}
],
[
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
},
"action": "leftThumb",
"relative": false,
"actionThreshold": 2,
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "walk"
}
}
},
"activated": {
"knob": {
"faceImage": {
"type": "icon",
"value": "sprint"
}
}
}
}
}
],
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0.05,
"radial": true
}
},
"action": "leftTrigger",
"styles": {
"default": {
"outline": {
"indicator": {
"type": "color",
"value": "#ffffff"
},
"stroke": {
"type": "solid",
"color": "#ffffff"
},
"opacity": 0.5
},
"knob": {
"faceImage": {
"type": "icon",
"value": "aim"
}
}
}
}
}
]
},
"right": {
"inner": [
{
"type": "touchpad",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"sensitivity": 5,
"deadzone": {
"threshold": 0,
"radial": true
}
},
"renderAsButton": true,
"action": [
"rightTrigger"
],
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "fire"
}
}
}
}
],
"outer": [
[
{
"type": "button",
"action": "rightBumper"
},
null,
{
"type": "button",
"action": "rightThumb",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "crouch"
}
}
}
}
],
[
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "reload"
}
}
}
},
{
"type": "button",
"action": "gamepadB"
},
{
"type": "button",
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
}
],
[
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick"
}
}
],
null,
{
"type": "touchpad",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"sensitivity": 5,
"deadzone": {
"threshold": 0,
"radial": true
}
},
"renderAsButton": true,
"action": [
"leftBumper"
],
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "leftBumper"
}
}
}
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "view",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "map"
}
}
}
},
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "inventory"
}
}
}
}
]
}
}
}
}
}

View File

@@ -0,0 +1,234 @@
{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"author": "Kode-Z",
"content": {
"left": {
"outer": [
null,
null,
[
{
"type": "directionalPad",
"interaction": {
"activationType": "exclusive"
},
"scale": 1
}
],
[
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
},
"action": "leftThumb",
"relative": false,
"actionThreshold": 2,
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "walk"
}
}
},
"activated": {
"knob": {
"faceImage": {
"type": "icon",
"value": "sprint"
}
}
}
}
}
],
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0.05,
"radial": true
}
},
"action": "leftTrigger",
"styles": {
"default": {
"outline": {
"indicator": {
"type": "color",
"value": "#ffffff"
},
"stroke": {
"type": "solid",
"color": "#ffffff"
},
"opacity": 0.5
},
"knob": {
"faceImage": {
"type": "icon",
"value": "aim"
}
}
}
}
}
]
},
"right": {
"inner": [
{
"type": "touchpad",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"sensitivity": 5,
"deadzone": {
"threshold": 0,
"radial": true
}
},
"renderAsButton": true,
"action": [
"rightTrigger"
],
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "fire"
}
}
}
}
],
"outer": [
[
{
"type": "button",
"action": "rightBumper"
},
null,
{
"type": "button",
"action": "rightThumb",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "crouch"
}
}
}
}
],
[
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "reload"
}
}
}
},
{
"type": "button",
"action": "gamepadB"
},
{
"type": "button",
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
}
],
[
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick"
}
}
],
null,
{
"type": "touchpad",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"sensitivity": 5,
"deadzone": {
"threshold": 0,
"radial": true
}
},
"renderAsButton": true,
"action": [
"leftBumper"
],
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "leftBumper"
}
}
}
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "view",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "map"
}
}
}
},
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "inventory"
}
}
}
}
]
}
}
}
}
}