mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-03 06:07:19 +02:00
Custom touch control for “Resident Evil” (#722)
* Add files via upload * Add files via upload * Update 1278031123.json
This commit is contained in:
parent
1e681c9542
commit
124a7c60de
7
touch-layouts/1278031123.json
Normal file
7
touch-layouts/1278031123.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Resident Evil",
|
||||
"default_layout": "custom",
|
||||
"layouts": [
|
||||
"resident-evil"
|
||||
]
|
||||
}
|
229
touch-layouts/layouts/resident-evil.json
Normal file
229
touch-layouts/layouts/resident-evil.json
Normal file
@ -0,0 +1,229 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"layouts": {
|
||||
"custom": {
|
||||
"name": "Alternate",
|
||||
"author": "Kode-Z",
|
||||
"content": {
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"expand": false,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightJoystickDown",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "lookBehind"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"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.1
|
||||
},
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "aim"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "interact"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
null,
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftBumper"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
null,
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightTrigger",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "fire"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadB",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "reload"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"upper": {
|
||||
"right": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": {
|
||||
"type": "layer",
|
||||
"target": "selectAbility"
|
||||
},
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "add"
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggle": true
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "map"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadY",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "inventory"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"layers": {
|
||||
"selectAbility": {
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "directionalPad",
|
||||
"scale": 2.2
|
||||
}
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"outer": [
|
||||
null,
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftBumper"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadX",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "sprint"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user